mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 16:44:59 +00:00
feature: add tooltip for page tab (#302)
This commit is contained in:
parent
f55a576013
commit
2e87f83a38
4 changed files with 10 additions and 0 deletions
|
@ -42,6 +42,13 @@
|
|||
PointerReleased="OnPointerReleasedTab"
|
||||
Loaded="SetupDragAndDrop"
|
||||
ContextRequested="OnTabContextRequested">
|
||||
<ToolTip.Tip>
|
||||
<Grid>
|
||||
<TextBlock Text="{DynamicResource Text.Welcome}" IsVisible="{Binding !Node.IsRepository}"/>
|
||||
<TextBlock Text="{Binding Node.Id}" IsVisible="{Binding Node.IsRepository}"/>
|
||||
</Grid>
|
||||
</ToolTip.Tip>
|
||||
|
||||
<Grid Width="{Binding Source={x:Static vm:Preference.Instance}, Path=UseFixedTabWidth, Converter={x:Static c:BoolConverters.ToPageTabWidth}}" Height="30" ColumnDefinitions="Auto,*,Auto" VerticalAlignment="Center">
|
||||
<Path Grid.Column="0"
|
||||
Width="12" Height="12" Margin="12,0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue