Skip to content

Commit bc6d837

Browse files
committed
ux: simplify data template for branch name in BranchSelector
Signed-off-by: leo <longshuang@msn.cn>
1 parent 58e3130 commit bc6d837

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Views/BranchSelector.axaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
Content="{TemplateBinding SelectedBranch, Mode=OneWay}">
3939
<ContentControl.DataTemplates>
4040
<DataTemplate DataType="m:Branch">
41-
<Grid>
42-
<TextBlock Text="{Binding FriendlyName, Mode=OneWay}"/>
43-
</Grid>
41+
<TextBlock Text="{Binding FriendlyName, Mode=OneWay}" VerticalAlignment="Center"/>
4442
</DataTemplate>
4543
</ContentControl.DataTemplates>
4644
</ContentControl>

0 commit comments

Comments
 (0)