Skip to content

Commit 84979b2

Browse files
committed
ux: force using VertialAlignment="Center" for sign info of commit (#1098)
Signed-off-by: leo <[email protected]>
1 parent 66517fd commit 84979b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Views/CommitBaseInfo.axaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
<StackPanel Orientation="Vertical">
8181
<TextBlock Margin="0,0,0,12" Text="{Binding ToolTip}"/>
8282
<Grid ColumnDefinitions="Auto,8,Auto" RowDefinitions="Auto,Auto">
83-
<TextBlock Grid.Row="0" Grid.Column="0" Text="Signer:" IsVisible="{Binding HasSigner}"/>
84-
<TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding Signer}" IsVisible="{Binding HasSigner}"/>
85-
<TextBlock Grid.Row="1" Grid.Column="0" Text="Key:"/>
86-
<TextBlock Grid.Row="1" Grid.Column="2" Text="{Binding Key}"/>
83+
<TextBlock Grid.Row="0" Grid.Column="0" Text="Signer:" IsVisible="{Binding HasSigner}" VerticalAlignment="Center"/>
84+
<TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding Signer}" IsVisible="{Binding HasSigner}" VerticalAlignment="Center"/>
85+
<TextBlock Grid.Row="1" Grid.Column="0" Text="Key:" VerticalAlignment="Center"/>
86+
<TextBlock Grid.Row="1" Grid.Column="2" Text="{Binding Key}" VerticalAlignment="Center"/>
8787
</Grid>
8888
</StackPanel>
8989
</ToolTip.Tip>

0 commit comments

Comments
 (0)