mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-03 00:00:55 +08:00
feat: checked ButtonRadioButton disable style.
This commit is contained in:
@@ -207,6 +207,9 @@
|
||||
<Style Selector="^:checked">
|
||||
<Setter Property="RadioButton.Background" Value="{DynamicResource RadioButtonButtonCheckedBackground}" />
|
||||
<Setter Property="RadioButton.Foreground" Value="{DynamicResource RadioButtonButtonCheckedForeground}" />
|
||||
<Style Selector="^:disabled">
|
||||
<Setter Property="RadioButton.Foreground" Value="{DynamicResource RadioButtonButtonCheckedDisabledForeground}" />
|
||||
</Style>
|
||||
</Style>
|
||||
<Style Selector="^.Small">
|
||||
<Setter Property="RadioButton.FontSize" Value="{DynamicResource RadioButtonButtonSmallFontSize}" />
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
<SolidColorBrush x:Key="RadioButtonButtonUncheckedDisabledForeground" Color="#78787A" />
|
||||
<SolidColorBrush x:Key="RadioButtonButtonCheckedBackground" Color="#43444A" />
|
||||
<SolidColorBrush x:Key="RadioButtonButtonCheckedForeground" Color="#54A9FF" />
|
||||
<SolidColorBrush x:Key="RadioButtonButtonCheckedDisabledForeground" Color="#78787A" />
|
||||
|
||||
<Thickness x:Key="RadioButtonCardPadding">16 12</Thickness>
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
<SolidColorBrush x:Key="RadioButtonButtonUncheckedDisabledForeground" Color="#A9AAAB" />
|
||||
<SolidColorBrush x:Key="RadioButtonButtonCheckedForeground" Color="#0077FA" />
|
||||
<SolidColorBrush x:Key="RadioButtonButtonCheckedBackground" Color="White" />
|
||||
<SolidColorBrush x:Key="RadioButtonButtonCheckedDisabledForeground" Color="#A9AAAB" />
|
||||
|
||||
<Thickness x:Key="RadioButtonCardPadding">16 12</Thickness>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user