Skip to content

Commit ed66d23

Browse files
committed
ux: show stash message as tooltip when hovering it (#1419)
Signed-off-by: leo <[email protected]>
1 parent 0cbf121 commit ed66d23

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Views/StashesPage.axaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@
8484

8585
<ListBox.ItemTemplate>
8686
<DataTemplate DataType="m:Stash">
87-
<Border BorderBrush="{DynamicResource Brush.Border2}" BorderThickness="0,0,0,1" Padding="4" Background="Transparent" ContextRequested="OnStashContextRequested">
87+
<Border Background="Transparent"
88+
BorderBrush="{DynamicResource Brush.Border2}" BorderThickness="0,0,0,1"
89+
Padding="4"
90+
ContextRequested="OnStashContextRequested"
91+
ToolTip.Tip="{Binding Message}">
8892
<Grid RowDefinitions="Auto,*" >
8993
<Grid Grid.Row="0" ColumnDefinitions="*,Auto">
9094
<TextBlock Grid.Column="0" Classes="primary" Text="{Binding Name}" Foreground="DarkOrange"/>

0 commit comments

Comments
 (0)