Skip to content

Commit d63180f

Browse files
CreateLabgrokys
authored andcommitted
RadioButton checkMark Color (AvaloniaUI#3205)
fixed problems with checkMark in radioButton
1 parent 572f230 commit d63180f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Avalonia.Themes.Default/RadioButton.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
Height="18"
1414
VerticalAlignment="Center"/>
1515
<Ellipse Name="checkMark"
16-
Fill="{DynamicResource HighlightBrush}"
1716
Width="10"
1817
Height="10"
1918
Stretch="Uniform"
@@ -38,10 +37,12 @@
3837
</ControlTemplate>
3938
</Setter>
4039
</Style>
40+
4141
<Style Selector="RadioButton:pointerover /template/ Ellipse#border">
4242
<Setter Property="Stroke" Value="{DynamicResource ThemeBorderHighBrush}"/>
4343
</Style>
4444
<Style Selector="RadioButton /template/ Ellipse#checkMark">
45+
<Setter Property="Fill" Value="{DynamicResource HighlightBrush}"/>
4546
<Setter Property="IsVisible" Value="False"/>
4647
</Style>
4748
<Style Selector="RadioButton /template/ Ellipse#indeterminateMark">
@@ -56,4 +57,4 @@
5657
<Style Selector="RadioButton:disabled /template/ Ellipse#border">
5758
<Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}"/>
5859
</Style>
59-
</Styles>
60+
</Styles>

0 commit comments

Comments
 (0)