ux: layout of histories toggle buttons

This commit is contained in:
leo 2024-10-18 14:48:15 +08:00
parent 62ac4290ca
commit 2821bab77c
No known key found for this signature in database

View file

@ -72,12 +72,12 @@
<TextBlock Grid.Column="1" Classes="primary" Text="{DynamicResource Text.Histories}"/>
<ToggleButton Grid.Column="2"
Classes="layout_direction"
Width="32" Height="26"
Width="28" Height="26"
IsChecked="{Binding Source={x:Static vm:Preference.Instance}, Path=UseTwoColumnsLayoutInHistories, Mode=TwoWay}"
ToolTip.Tip="{DynamicResource Text.Histories.DisplayMode}"/>
<ToggleButton Grid.Column="3"
Classes="line_path"
Width="32" Height="26"
Width="28" Height="26"
Background="Transparent"
IsChecked="{Binding EnableReflog, Mode=TwoWay}"
ToolTip.Tip="{DynamicResource Text.Repository.EnableReflog}">
@ -85,7 +85,7 @@
</ToggleButton>
<ToggleButton Grid.Column="4"
Classes="line_path"
Width="32" Height="26"
Width="28" Height="26"
Background="Transparent"
IsChecked="{Binding EnableFirstParentInHistories, Mode=TwoWay}"
ToolTip.Tip="{DynamicResource Text.Repository.FirstParentFilterToggle}">