mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-25 11:24:02 +08:00
ux: reduce width of buttons in Histories toolbar
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
|
||||
<ToggleButton Grid.Column="2"
|
||||
Classes="line_path"
|
||||
Width="28" Height="26"
|
||||
Width="26" Height="26"
|
||||
Background="Transparent"
|
||||
IsChecked="{Binding EnableReflog, Mode=TwoWay}"
|
||||
ToolTip.Tip="{DynamicResource Text.Repository.EnableReflog}">
|
||||
@@ -97,7 +97,7 @@
|
||||
</ToggleButton>
|
||||
<ToggleButton Grid.Column="3"
|
||||
Classes="line_path"
|
||||
Width="28" Height="26"
|
||||
Width="26" Height="26"
|
||||
Background="Transparent"
|
||||
IsChecked="{Binding EnableFirstParentInHistories, Mode=TwoWay}"
|
||||
ToolTip.Tip="{DynamicResource Text.Repository.FirstParentFilterToggle}">
|
||||
@@ -105,7 +105,7 @@
|
||||
</ToggleButton>
|
||||
<ToggleButton Grid.Column="4"
|
||||
Classes="line_path"
|
||||
Width="28" Height="26"
|
||||
Width="26" Height="26"
|
||||
Background="Transparent"
|
||||
IsChecked="{Binding OnlyHighlightCurrentBranchInHistories, Mode=TwoWay}"
|
||||
ToolTip.Tip="{DynamicResource Text.Repository.OnlyHighlightCurrentBranchInHistories}">
|
||||
@@ -113,7 +113,7 @@
|
||||
</ToggleButton>
|
||||
<ToggleButton Grid.Column="5"
|
||||
Classes="line_path"
|
||||
Width="28" Height="26"
|
||||
Width="26" Height="26"
|
||||
Background="Transparent"
|
||||
IsChecked="{Binding Source={x:Static vm:Preference.Instance}, Path=DisplayTimeAsPeriodInHistories, Mode=TwoWay}"
|
||||
ToolTip.Tip="{DynamicResource Text.Repository.UseRelativeTimeInHistories}">
|
||||
@@ -121,7 +121,7 @@
|
||||
</ToggleButton>
|
||||
<Button Grid.Column="6"
|
||||
Classes="icon_button"
|
||||
Width="28" Height="26"
|
||||
Width="26" Height="26"
|
||||
Click="OnOpenAdvancedHistoriesOption">
|
||||
<Path Width="12" Height="12" Data="{StaticResource Icons.More}"/>
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user