Browse Source

Add left padding for radiobutton and checkbox

pull/4649/head
Maksym Katsydan 6 years ago
parent
commit
ca5ec1fba4
  1. 1
      src/Avalonia.Themes.Fluent/CheckBox.xaml
  2. 1
      src/Avalonia.Themes.Fluent/RadioButton.xaml

1
src/Avalonia.Themes.Fluent/CheckBox.xaml

@ -8,6 +8,7 @@
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundUnchecked}" />
<Setter Property="Foreground" Value="{DynamicResource CheckBoxForegroundUnchecked}" />
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushUnchecked}" />
<Setter Property="Padding" Value="8,0,0,0" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalContentAlignment" Value="Left" />

1
src/Avalonia.Themes.Fluent/RadioButton.xaml

@ -13,6 +13,7 @@
<Setter Property="Background" Value="{DynamicResource RadioButtonBackground}" />
<Setter Property="Foreground" Value="{DynamicResource RadioButtonForeground}" />
<Setter Property="BorderBrush" Value="{DynamicResource RadioButtonBorderBrush}" />
<Setter Property="Padding" Value="8,0,0,0" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalContentAlignment" Value="Left" />

Loading…
Cancel
Save