aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/TreeView.template
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/TreeView.template')
-rw-r--r--Templates/TreeView.template5
1 files changed, 2 insertions, 3 deletions
diff --git a/Templates/TreeView.template b/Templates/TreeView.template
index 377de50c..25c93f15 100644
--- a/Templates/TreeView.template
+++ b/Templates/TreeView.template
@@ -1,12 +1,11 @@
<?xml version="1.0"?>
-<HorizontalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}">
+<HorizontalStack>
<Scroller Name="scroller1" Margin="1" VerticalScrolling="true"
Background="{./Background}"
- Height="{./HeightPolicy}" Width="{./WidthPolicy}"
ScrollY="{../scrollbar1.Value}"
ValueChanged="./_scroller_ValueChanged">
<VerticalStack LayoutChanged="./_list_LayoutChanged"
- Height="Fit" Width="{./WidthPolicy}" Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/>
+ Height="Fit" Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/>
</Scroller>
<ScrollBar
Name="scrollbar1"