Browse Source

Removes hard-coded Grid.RowSpan and Grid.ColumnSpan from FluentTheme in Data grid - based on #12301 (#14460)

release/11.0.8
KrzysztofDusko 2 years ago
committed by Max Katz
parent
commit
3433a6aa6d
  1. 6
      src/Avalonia.Controls.DataGrid/Themes/Fluent.xaml

6
src/Avalonia.Controls.DataGrid/Themes/Fluent.xaml

@ -535,8 +535,6 @@
<DataGridRowsPresenter Name="PART_RowsPresenter"
Grid.Row="1"
Grid.RowSpan="2"
Grid.ColumnSpan="3"
Grid.Column="0"
ScrollViewer.IsScrollInertiaEnabled="{TemplateBinding IsScrollInertiaEnabled}">
<DataGridRowsPresenter.GestureRecognizers>
@ -589,6 +587,10 @@
<Setter Property="IsVisible" Value="False" />
</Style>
</Style>
<Style Selector="^ /template/ DataGridRowsPresenter#PART_RowsPresenter">
<Setter Property="Grid.RowSpan" Value="2" />
<Setter Property="Grid.ColumnSpan" Value="3" />
</Style>
</ControlTheme>
</ResourceDictionary>
</Styles.Resources>

Loading…
Cancel
Save