mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 00:24:59 +00:00
ux: add some tooltips to checkboxes
This commit is contained in:
parent
c768b1750e
commit
1c345df37d
8 changed files with 29 additions and 16 deletions
|
@ -54,7 +54,8 @@
|
|||
|
||||
<CheckBox Grid.Row="2" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Apply.IgnoreWS}"
|
||||
IsChecked="{Binding IgnoreWhiteSpace, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding IgnoreWhiteSpace, Mode=TwoWay}"
|
||||
ToolTip.Tip="--ignore-whitespace"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
|
|
|
@ -34,15 +34,18 @@
|
|||
|
||||
<CheckBox Grid.Row="1" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Fetch.Force}"
|
||||
IsChecked="{Binding Force, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding Force, Mode=TwoWay}"
|
||||
ToolTip.Tip="--force"/>
|
||||
|
||||
<CheckBox Grid.Row="2" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Fetch.AllRemotes}"
|
||||
IsChecked="{Binding FetchAllRemotes, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding FetchAllRemotes, Mode=TwoWay}"
|
||||
ToolTip.Tip="--all"/>
|
||||
|
||||
<CheckBox Grid.Row="3" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Fetch.NoTags}"
|
||||
IsChecked="{Binding NoTags, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding NoTags, Mode=TwoWay}"
|
||||
ToolTip.Tip="--no-tags"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
|
|
|
@ -99,11 +99,13 @@
|
|||
|
||||
<CheckBox Grid.Row="5" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Pull.NoTags}"
|
||||
IsChecked="{Binding NoTags, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding NoTags, Mode=TwoWay}"
|
||||
ToolTip.Tip="--no-tags"/>
|
||||
|
||||
<CheckBox Grid.Row="6" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Pull.UseRebase}"
|
||||
IsChecked="{Binding UseRebase, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding UseRebase, Mode=TwoWay}"
|
||||
ToolTip.Tip="--rebase"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
|
|
|
@ -83,21 +83,25 @@
|
|||
Height="32"
|
||||
Content="{DynamicResource Text.Push.Tracking}"
|
||||
IsChecked="{Binding Tracking, Mode=TwoWay}"
|
||||
IsVisible="{Binding IsSetTrackOptionVisible}"/>
|
||||
IsVisible="{Binding IsSetTrackOptionVisible}"
|
||||
ToolTip.Tip="-u"/>
|
||||
|
||||
<CheckBox Grid.Row="4" Grid.Column="1"
|
||||
Height="32"
|
||||
Content="{DynamicResource Text.Push.CheckSubmodules}"
|
||||
IsChecked="{Binding CheckSubmodules, Mode=TwoWay}"
|
||||
IsVisible="{Binding IsCheckSubmodulesVisible}"/>
|
||||
IsVisible="{Binding IsCheckSubmodulesVisible}"
|
||||
ToolTip.Tip="--recurse-submodules=check"/>
|
||||
|
||||
<CheckBox Grid.Row="5" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Push.WithAllTags}"
|
||||
IsChecked="{Binding PushAllTags, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding PushAllTags, Mode=TwoWay}"
|
||||
ToolTip.Tip="--tags"/>
|
||||
|
||||
<CheckBox Grid.Row="6" Grid.Column="1"
|
||||
Content="{DynamicResource Text.Push.Force}"
|
||||
IsChecked="{Binding ForcePush, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding ForcePush, Mode=TwoWay}"
|
||||
ToolTip.Tip="--force-with-lease"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
|
|
|
@ -27,18 +27,21 @@
|
|||
Height="32"
|
||||
Content="{DynamicResource Text.Stash.IncludeUntracked}"
|
||||
IsChecked="{Binding IncludeUntracked, Mode=TwoWay}"
|
||||
IsVisible="{Binding !HasSelectedFiles}"/>
|
||||
IsVisible="{Binding !HasSelectedFiles}"
|
||||
ToolTip.Tip="--include-untracked"/>
|
||||
|
||||
<CheckBox Grid.Row="2" Grid.Column="1"
|
||||
Height="32"
|
||||
Content="{DynamicResource Text.Stash.OnlyStagedChanges}"
|
||||
IsChecked="{Binding OnlyStaged, Mode=TwoWay}"
|
||||
IsVisible="{Binding !HasSelectedFiles}"/>
|
||||
IsVisible="{Binding !HasSelectedFiles}"
|
||||
ToolTip.Tip="--staged"/>
|
||||
|
||||
<CheckBox Grid.Row="3" Grid.Column="1"
|
||||
Height="32"
|
||||
Content="{DynamicResource Text.Stash.KeepIndex}"
|
||||
IsChecked="{Binding KeepIndex, Mode=TwoWay}"/>
|
||||
IsChecked="{Binding KeepIndex, Mode=TwoWay}"
|
||||
ToolTip.Tip="--keep-index"/>
|
||||
|
||||
<TextBlock Grid.Row="4" Grid.Column="1"
|
||||
Margin="0,4,0,0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue