diff options
Diffstat (limited to 'Tests/Interfaces')
| -rwxr-xr-x | Tests/Interfaces/Container/0.crow | 2 | ||||
| -rwxr-xr-x | Tests/Interfaces/TemplatedContainer/testTreeView.crow | 15 | ||||
| -rwxr-xr-x | Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow | 10 | ||||
| -rwxr-xr-x | Tests/Interfaces/TemplatedControl/testScrollbar.crow (renamed from Tests/Interfaces/TemplatedControl/testScrollbar.goml) | 0 | ||||
| -rwxr-xr-x | Tests/Interfaces/TemplatedControl/testSpinner.crow (renamed from Tests/Interfaces/TemplatedControl/testSpinner.goml) | 0 | ||||
| -rwxr-xr-x | Tests/Interfaces/TmpExpandable.goml | 8 | ||||
| -rwxr-xr-x | Tests/Interfaces/treeList.crow | 3 |
7 files changed, 18 insertions, 20 deletions
diff --git a/Tests/Interfaces/Container/0.crow b/Tests/Interfaces/Container/0.crow index a69e6f69..be2e16e6 100755 --- a/Tests/Interfaces/Container/0.crow +++ b/Tests/Interfaces/Container/0.crow @@ -1,5 +1,5 @@ <?xml version="1.0"?> <Container Background="Onyx" Margin="10" Width="90%" Height="90%"> - <GraphicObject Margin="10" Width="Stretched" Height="Stretched" Background="Mantis" + <GraphicObject Margin="10" Background="Mantis" MinimumSize="50,50"/> </Container>
\ No newline at end of file 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> diff --git a/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow b/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow index 94625915..f4d37a74 100755 --- a/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow +++ b/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow @@ -4,12 +4,12 @@ <ListBox Data="{TestList}" Background="0.5,0.5,0.5,0.7" HorizontalAlignment="Center" Width="200" Height="200" Margin="5"> <Template> - <Border BorderWidth="1" Height="{../HeightPolicy}" Width="{../WidthPolicy}"> - <HorizontalStack Margin="1" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}" > - <Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}" + <Border BorderWidth="1"> + <HorizontalStack Margin="1"> + <Scroller Name="scroller1" Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}" ValueChanged="../../../_scroller_ValueChanged"> - <VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="10,10" + <VerticalStack Height="Fit" MinimumSize="10,10" Name="ItemsContainer" Margin="0" VerticalAlignment="Top" HorizontalAlignment="Left" @@ -17,7 +17,7 @@ </Scroller> <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}" Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical" - Width="14" Height="{../../../HeightPolicy}" /> + Width="14"/> </HorizontalStack> </Border> </Template> diff --git a/Tests/Interfaces/TemplatedControl/testScrollbar.goml b/Tests/Interfaces/TemplatedControl/testScrollbar.crow index c494e347..c494e347 100755 --- a/Tests/Interfaces/TemplatedControl/testScrollbar.goml +++ b/Tests/Interfaces/TemplatedControl/testScrollbar.crow diff --git a/Tests/Interfaces/TemplatedControl/testSpinner.goml b/Tests/Interfaces/TemplatedControl/testSpinner.crow index 4efd587a..4efd587a 100755 --- a/Tests/Interfaces/TemplatedControl/testSpinner.goml +++ b/Tests/Interfaces/TemplatedControl/testSpinner.crow diff --git a/Tests/Interfaces/TmpExpandable.goml b/Tests/Interfaces/TmpExpandable.goml index 1cd05fd7..9dddcebb 100755 --- a/Tests/Interfaces/TmpExpandable.goml +++ b/Tests/Interfaces/TmpExpandable.goml @@ -3,10 +3,10 @@ <Label Text="{../../Caption}" Width="{../../WidthPolicy}"/> <Container Name="Content" Visible="false" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}"/> </VerticalStack>--> -<Group BorderWidth="1" Foreground="LightGray" Height="{../HeightPolicy}" Width="{../WidthPolicy}" +<Group BorderWidth="1" Foreground="LightGray" MouseClick="../onMouseClick"> - <VerticalStack Height="{../../HeightPolicy}" Width="{../../WidthPolicy}"> - <Label Text="{../../../Caption}" Width="{../../../WidthPolicy}"/> - <Container Name="Content" Visible="false" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"/> + <VerticalStack> + <Label Text="{../../../Caption}"/> + <Container Name="Content" Visible="false"/> </VerticalStack> </Group>
\ No newline at end of file diff --git a/Tests/Interfaces/treeList.crow b/Tests/Interfaces/treeList.crow index 61ee12a4..ca59c17f 100755 --- a/Tests/Interfaces/treeList.crow +++ b/Tests/Interfaces/treeList.crow @@ -1,3 +1,2 @@ <?xml version="1.0"?> -<VerticalStack - Height="Fit" Width="{../WidthPolicy}" Name="List"/>
\ No newline at end of file +<VerticalStack Height="Fit" Name="List"/>
\ No newline at end of file |