aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/TemplatedContainer/testTreeView.crow
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Interfaces/TemplatedContainer/testTreeView.crow')
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testTreeView.crow15
1 files changed, 7 insertions, 8 deletions
diff --git a/Tests/Interfaces/TemplatedContainer/testTreeView.crow b/Tests/Interfaces/TemplatedContainer/testTreeView.crow
index e8e71645..fb4cbe87 100755
--- a/Tests/Interfaces/TemplatedContainer/testTreeView.crow
+++ b/Tests/Interfaces/TemplatedContainer/testTreeView.crow
@@ -12,8 +12,8 @@
<ItemTemplate DataType="System.IO.DirectoryInfo" Data="GetFileSystemInfos">
<Expandable Caption="{Name}" >
<Template>
- <VerticalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}">
- <HorizontalStack Spacing="1" Height="Fit" Width="{./WidthPolicy}"
+ <VerticalStack>
+ <HorizontalStack Spacing="1" Height="Fit"
MouseEnter="{Background=hgradient|0:BlueCrayola|1:Transparent}"
MouseLeave="{Background=Transparent}">
<Image Margin="2" Width="12" Height="12"
@@ -22,17 +22,16 @@
SvgSub="{./IsExpanded}"/>
<Image Margin="2" Width="14" Height="14"
Path="#Crow.Images.Icons.folder.svg"/>
- <Label Text="{./Caption}" Width="{./WidthPolicy}"/>
+ <Label Text="{./Caption}"/>
</HorizontalStack>
- <Container Name="Content" Visible="false"
- Height="{./HeightPolicy}" Width="{./WidthPolicy}"/>
+ <Container Name="Content" Visible="false"/>
</VerticalStack>
</Template>
- <HorizontalStack Height="Fit" Width="{./WidthPolicy}">
+ <HorizontalStack Height="Fit">
<GraphicObject Width="12" Height="10"/>
- <TreeView Name="List" Height="Fit" Width="{./WidthPolicy}">
+ <TreeView Name="List" Height="Fit">
<Template>
- <VerticalStack Height="Fit" Width="{../WidthPolicy}" Name="ItemsContainer"/>
+ <VerticalStack Height="Fit" Name="ItemsContainer"/>
</Template>
</TreeView>
</HorizontalStack>