fix: change scroll unit to pixel
This commit is contained in:
parent
8c781bf89d
commit
84d0be81e6
|
@ -63,13 +63,14 @@
|
|||
<ItemsControl Grid.Row="0"
|
||||
x:Name="items"
|
||||
Padding="4"
|
||||
VirtualizingPanel.ScrollUnit="Pixel"
|
||||
ItemsSource="{Binding .}">
|
||||
<ItemsControl.Template>
|
||||
<ControlTemplate TargetType="ItemsControl">
|
||||
<ScrollViewer x:Name="scroller"
|
||||
CanContentScroll="True"
|
||||
Background="#333">
|
||||
<ItemsPresenter />
|
||||
<ItemsPresenter Margin="0,0,16,0" />
|
||||
</ScrollViewer>
|
||||
</ControlTemplate>
|
||||
</ItemsControl.Template>
|
||||
|
|
Loading…
Reference in New Issue
Block a user