ux: reduce width of buttons in Histories toolbar

This commit is contained in:
leo
2025-01-06 17:58:43 +08:00
parent 68cfb092fc
commit a00e62233f

View File

@@ -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>