Browse Source

Merge pull request #7183 from AvaloniaUI/listboxitem-do-not-set-alignment

Do not copy UWP behavior with ListBoxItem horizontal alignment
backup/fixes/catalina-red-window-15-16-08
Jumar Macato 5 years ago
committed by GitHub
parent
commit
7b00b786cb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/Avalonia.Themes.Fluent/Controls/ListBoxItem.xaml

1
src/Avalonia.Themes.Fluent/Controls/ListBoxItem.xaml

@ -18,7 +18,6 @@
<Style Selector="ListBoxItem">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="{DynamicResource ListBoxItemPadding}" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="Template">
<ControlTemplate>
<ContentPresenter Name="PART_ContentPresenter"

Loading…
Cancel
Save