|
|
|
@ -1451,7 +1451,6 @@ namespace Avalonia.Controls.UnitTests |
|
|
|
{ |
|
|
|
Name = "PART_ScrollViewer", |
|
|
|
Content = presenter, |
|
|
|
Template = ScrollViewerTemplate(), |
|
|
|
}; |
|
|
|
|
|
|
|
if (orientation == Orientation.Horizontal) |
|
|
|
@ -1460,6 +1459,8 @@ namespace Avalonia.Controls.UnitTests |
|
|
|
scroll.VerticalScrollBarVisibility = ScrollBarVisibility.Disabled; |
|
|
|
} |
|
|
|
|
|
|
|
scroll.Template = ScrollViewerTemplate(); |
|
|
|
|
|
|
|
var itemsControl = new T |
|
|
|
{ |
|
|
|
ItemsSource = items, |
|
|
|
|