ux: force using VertialAlignment="Center" for sign info of commit (#1098)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-17 09:32:31 +08:00
parent 66517fd4bf
commit 84979b20b3
No known key found for this signature in database

View file

@ -80,10 +80,10 @@
<StackPanel Orientation="Vertical">
<TextBlock Margin="0,0,0,12" Text="{Binding ToolTip}"/>
<Grid ColumnDefinitions="Auto,8,Auto" RowDefinitions="Auto,Auto">
<TextBlock Grid.Row="0" Grid.Column="0" Text="Signer:" IsVisible="{Binding HasSigner}"/>
<TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding Signer}" IsVisible="{Binding HasSigner}"/>
<TextBlock Grid.Row="1" Grid.Column="0" Text="Key:"/>
<TextBlock Grid.Row="1" Grid.Column="2" Text="{Binding Key}"/>
<TextBlock Grid.Row="0" Grid.Column="0" Text="Signer:" IsVisible="{Binding HasSigner}" VerticalAlignment="Center"/>
<TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding Signer}" IsVisible="{Binding HasSigner}" VerticalAlignment="Center"/>
<TextBlock Grid.Row="1" Grid.Column="0" Text="Key:" VerticalAlignment="Center"/>
<TextBlock Grid.Row="1" Grid.Column="2" Text="{Binding Key}" VerticalAlignment="Center"/>
</Grid>
</StackPanel>
</ToolTip.Tip>