Browse Source

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

Do not copy UWP behavior with ListBoxItem horizontal alignment
release/0.10.11
Jumar Macato 4 years ago
committed by Dan Walmsley
parent
commit
4772a7deed
  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