Browse Source

Fixed ScrollViewer background correctly.

Removed it from the wrong place in the previous commit.
pull/827/head
Steven Kirk 9 years ago
parent
commit
d7aa4081fc
  1. 3
      src/Avalonia.Themes.Default/ScrollViewer.xaml

3
src/Avalonia.Themes.Default/ScrollViewer.xaml

@ -1,8 +1,9 @@
<Style xmlns="https://github.com/avaloniaui" Selector="ScrollViewer">
<Setter Property="Template">
<ControlTemplate>
<Grid ColumnDefinitions="*,Auto" RowDefinitions="*,Auto" Background="{TemplateBinding Background}">
<Grid ColumnDefinitions="*,Auto" RowDefinitions="*,Auto">
<ScrollContentPresenter Name="PART_ContentPresenter"
Background="{TemplateBinding Background}"
Content="{TemplateBinding Content}"
Extent="{TemplateBinding Path=Extent, Mode=TwoWay}"
Margin="{TemplateBinding Padding}"

Loading…
Cancel
Save