misc: chore: Remove duplicated styling blocks in MainMenuBarView in favor of a reusable Avalonia Style.

This commit is contained in:
Evan Husted
2025-01-21 17:50:55 -06:00
parent 11531dacb6
commit 880a8ae748
4 changed files with 30 additions and 84 deletions

View File

@@ -0,0 +1,13 @@
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="MenuItem.withCheckbox Viewbox#PART_IconPresenter">
<Setter Property="MaxHeight" Value="36" />
<Setter Property="MinHeight" Value="36" />
<Setter Property="MaxWidth" Value="36" />
<Setter Property="MinWidth" Value="36" />
</Style>
<Style Selector="MenuItem.withCheckbox ContentPresenter#PART_HeaderPresenter">
<Setter Property="Padding" Value="-10,0,0,0" />
</Style>
</Styles>