Browse Source

Make MenuItem check mark visible with Simple theme (#15424)

* Make MenuItem check mark visible with Simple theme

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Fix for radio menu items

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Remove useless setter

Signed-off-by: AnErrupTion <anerruption@disroot.org>

---------

Signed-off-by: AnErrupTion <anerruption@disroot.org>
pull/15438/head
ShiningLea 2 years ago
committed by GitHub
parent
commit
567a55a8b4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Themes.Simple/Controls/MenuItem.xaml

2
src/Avalonia.Themes.Simple/Controls/MenuItem.xaml

@ -105,7 +105,7 @@
<Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}" />
</Style>
<Style Selector="^:toggle /template/ Viewbox#PART_ToggleIconPresenter, ^:radio /template/ Viewbox#PART_ToggleIconPresenter">
<Style Selector="^:toggle /template/ ContentControl#PART_ToggleIconPresenter, ^:radio /template/ ContentControl#PART_ToggleIconPresenter">
<Setter Property="IsVisible" Value="True" />
</Style>
<Style Selector="^:toggle /template/ ContentPresenter#PART_IconPresenter, ^:radio /template/ ContentPresenter#PART_IconPresenter">

Loading…
Cancel
Save