Browse Source

Merge pull request #4649 from AvaloniaUI/fixes/add-left-padding-for-radiobutton-and-checkbox

Add left padding for radiobutton and checkbox
pull/4660/head
danwalmsley 5 years ago
committed by GitHub
parent
commit
3edf22f538
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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