Browse Source

RadioButton checkMark Color (#3205)

fixed problems with checkMark in radioButton
pull/3324/head
CreateLab 7 years ago
committed by Steven Kirk
parent
commit
d63180fb58
  1. 5
      src/Avalonia.Themes.Default/RadioButton.xaml

5
src/Avalonia.Themes.Default/RadioButton.xaml

@ -13,7 +13,6 @@
Height="18"
VerticalAlignment="Center"/>
<Ellipse Name="checkMark"
Fill="{DynamicResource HighlightBrush}"
Width="10"
Height="10"
Stretch="Uniform"
@ -38,10 +37,12 @@
</ControlTemplate>
</Setter>
</Style>
<Style Selector="RadioButton:pointerover /template/ Ellipse#border">
<Setter Property="Stroke" Value="{DynamicResource ThemeBorderHighBrush}"/>
</Style>
<Style Selector="RadioButton /template/ Ellipse#checkMark">
<Setter Property="Fill" Value="{DynamicResource HighlightBrush}"/>
<Setter Property="IsVisible" Value="False"/>
</Style>
<Style Selector="RadioButton /template/ Ellipse#indeterminateMark">
@ -56,4 +57,4 @@
<Style Selector="RadioButton:disabled /template/ Ellipse#border">
<Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}"/>
</Style>
</Styles>
</Styles>

Loading…
Cancel
Save