Skip to content

Commit

Permalink
RadioButton checkMark Color (AvaloniaUI#3205)
Browse files Browse the repository at this point in the history
fixed problems with checkMark in radioButton
  • Loading branch information
CreateLab authored and grokys committed Dec 4, 2019
1 parent 572f230 commit d63180f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Avalonia.Themes.Default/RadioButton.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
Height="18"
VerticalAlignment="Center"/>
<Ellipse Name="checkMark"
Fill="{DynamicResource HighlightBrush}"
Width="10"
Height="10"
Stretch="Uniform"
Expand All @@ -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">
Expand All @@ -56,4 +57,4 @@
<Style Selector="RadioButton:disabled /template/ Ellipse#border">
<Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}"/>
</Style>
</Styles>
</Styles>

0 comments on commit d63180f

Please sign in to comment.