aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/ScrollingListBox.template
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/ScrollingListBox.template')
-rw-r--r--Templates/ScrollingListBox.template5
1 files changed, 2 insertions, 3 deletions
diff --git a/Templates/ScrollingListBox.template b/Templates/ScrollingListBox.template
index 3b098df2..67300ae9 100644
--- a/Templates/ScrollingListBox.template
+++ b/Templates/ScrollingListBox.template
@@ -1,14 +1,13 @@
<?xml version="1.0"?>
<Border BorderWidth="1" Background="{./Background}">
<HorizontalStack Margin="1">
- <Scroller Name="scroller1"
- Margin="2" ScrollY="{../scrollbar1.Value}">
+ <Scroller Name="scroller1" Margin="2">
<VerticalStack Height="Fit" MinimumSize="10,10"
Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/>
</Scroller>
<ScrollBar Name="scrollbar1" Value="{²../scroller1.ScrollY}"
LargeIncrement="{../scroller1.PageHeight}" SmallIncrement="30" CursorSize="{../scroller1.ChildHeightRatio}"
- Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical"
+ Maximum="{../scroller1.MaxScrollY}" Orientation="Vertical"
Width="14" />
</HorizontalStack>
</Border>