mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +00:00
ux: tooltip of commit signing status icon
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
195325187d
commit
fe03512c5c
2 changed files with 7 additions and 8 deletions
|
@ -85,14 +85,12 @@
|
|||
<ToolTip.Tip>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Margin="0,0,0,12" Text="{Binding ToolTip}"/>
|
||||
<TextBlock Margin="0,0,0,2" IsVisible="{Binding Signer, Converter={x:Static StringConverters.IsNotNullOrEmpty}}">
|
||||
<Run Text="Signer:"/>
|
||||
<Run Text="{Binding Signer}"/>
|
||||
</TextBlock>
|
||||
<TextBlock>
|
||||
<Run Text="KEY:"/>
|
||||
<Run Text="{Binding Key}"/>
|
||||
</TextBlock>
|
||||
<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}"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</ToolTip.Tip>
|
||||
<Path Width="14" Height="14" Data="{StaticResource Icons.Verified}" Fill="{Binding Brush}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue