mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +00:00
ux: change style of commit button's tooltip
This commit is contained in:
parent
fad875c773
commit
99c2ffeef4
8 changed files with 16 additions and 16 deletions
|
@ -226,12 +226,16 @@
|
|||
ToolTip.Placement="Top"
|
||||
ToolTip.VerticalOffset="0">
|
||||
<ToolTip.Tip>
|
||||
<TextBlock TextWrapping="Wrap" TextAlignment="Left">
|
||||
<Run Text="{OnPlatform Ctrl+Enter, macOS=⌘+Enter}"/>
|
||||
<Run Foreground="{DynamicResource Brush.FG2}"
|
||||
FontSize="12"
|
||||
Text="{DynamicResource Text.WorkingCopy.CommitWithAutoStage}"/>
|
||||
</TextBlock>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock TextAlignment="Left" TextWrapping="Wrap">
|
||||
<Run Text="{OnPlatform Ctrl+Enter, macOS=⌘+Enter}"/>
|
||||
<Run Foreground="{DynamicResource Brush.FG2}" Text="{DynamicResource Text.WorkingCopy.CommitTip}"/>
|
||||
</TextBlock>
|
||||
<TextBlock TextAlignment="Left" TextWrapping="Wrap" Margin="0,4,0,0">
|
||||
<Run Text="{OnPlatform Ctrl+Shift+Enter, macOS=⌘+⇧+Enter}"/>
|
||||
<Run Foreground="{DynamicResource Brush.FG2}" Text="{DynamicResource Text.WorkingCopy.CommitWithAutoStage}"/>
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</ToolTip.Tip>
|
||||
</Button>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue