diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-15 17:56:20 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-18 15:38:21 +0100 |
| commit | b1810f1f58d44a3d4779bf4f0c5858a52444ec29 (patch) | |
| tree | 206059d4fea3d5d05d106a11f10273129e5ed3d1 /Templates | |
| parent | c94c0f4ad2f762b7e187e8e660cd702efb3e3ea9 (diff) | |
testing with requestedLayouting fieldRequestedLayoutings
Diffstat (limited to 'Templates')
| -rw-r--r-- | Templates/ScrollingListBox.template | 5 | ||||
| -rw-r--r-- | Templates/TreeView.template | 4 |
2 files changed, 3 insertions, 6 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> diff --git a/Templates/TreeView.template b/Templates/TreeView.template index 9c18120e..0ac770b1 100644 --- a/Templates/TreeView.template +++ b/Templates/TreeView.template @@ -1,8 +1,6 @@ <?xml version="1.0"?> <HorizontalStack> - <Scroller Name="scroller1" Margin="1" - Background="{./Background}" - ScrollY="{../scrollbar1.Value}"> + <Scroller Name="scroller1" Margin="1" Background="{./Background}"> <VerticalStack Height="Fit" Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/> </Scroller> |