Skip to content

Commit dbe2a96

Browse files
authored
Fixing scroll viewer in the demo (#2866)
1 parent ad25f27 commit dbe2a96

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

MainDemo.Wpf/Domain/MainWindowViewModel.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,11 @@ private static IEnumerable<DemoItem> GenerateDemoItems(ISnackbarMessageQueue sna
262262
DocumentationLink.ApiLink<PackIcon>()
263263
},
264264
new IconPackViewModel(snackbarMessageQueue))
265-
{
266-
VerticalScrollBarVisibilityRequirement = ScrollBarVisibility.Disabled
267-
};
265+
{
266+
//The icons view handles its own scrolling
267+
HorizontalScrollBarVisibilityRequirement = ScrollBarVisibility.Disabled,
268+
VerticalScrollBarVisibilityRequirement = ScrollBarVisibility.Disabled
269+
};
268270

269271
yield return new DemoItem(
270272
"Colour Zones",

0 commit comments

Comments
 (0)