Skip to content

Commit cb6d6a2

Browse files
committed
feature: show change tooltip in INFORMATION page
Signed-off-by: leo <[email protected]>
1 parent 79650d1 commit cb6d6a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Views/CommitDetail.axaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@
5151
<ListBox.ItemTemplate>
5252
<DataTemplate DataType="m:Change">
5353
<Grid Background="Transparent" Height="24" ColumnDefinitions="36,*" ContextRequested="OnChangeContextRequested" DoubleTapped="OnChangeDoubleTapped">
54+
<ToolTip.Tip>
55+
<TextBlock TextWrapping="Wrap">
56+
<Run Text="{Binding Path, Mode=OneWay}"/>
57+
<Run Text="" Foreground="Gray"/>
58+
<Run Text="{Binding IndexDesc, Mode=OneWay}" Foreground="Gray"/>
59+
</TextBlock>
60+
</ToolTip.Tip>
61+
5462
<v:ChangeStatusIcon Grid.Column="0"
5563
Width="14" Height="14"
5664
HorizontalAlignment="Left"

0 commit comments

Comments
 (0)