diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-12 21:46:14 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-12 21:46:14 +0200 |
| commit | 11dcc340f08a142f807419b85ff07d45f870e8e5 (patch) | |
| tree | 342576cea03d06eac4f5d5f2f50e62d1d456d6b0 /Tests/Interfaces/testWindow.goml | |
| parent | 8624ae1ead48d7ddc206486db0c4fc024afac703 (diff) | |
update template and tests with new sizing policy for stacks (stretched
by default)
Diffstat (limited to 'Tests/Interfaces/testWindow.goml')
| -rwxr-xr-x | Tests/Interfaces/testWindow.goml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Tests/Interfaces/testWindow.goml b/Tests/Interfaces/testWindow.goml index efad1d8f..b336a9dc 100755 --- a/Tests/Interfaces/testWindow.goml +++ b/Tests/Interfaces/testWindow.goml @@ -4,9 +4,9 @@ Focusable="True" CornerRadius="20" MinimumSize="100;100" MaximumSize="500;500">
<Template>
<Border BorderWidth="1" BorderColor="White" Margin="0" CornerRadius="20">
- <VerticalStack Height="0" Width="0" Margin="0">
- <Border BorderWidth="1" BorderColor="White" Height="-1" Width="0" Background="0,1;0,5;1,0;0,5">
- <HorizontalStack Name="hs" Margin="1" Spacing="1" Height="-1" Width="0" Focusable="false" >
+ <VerticalStack Margin="0">
+ <Border BorderWidth="1" BorderColor="White" Height="-1" Background="0,1;0,5;1,0;0,5">
+ <HorizontalStack Name="hs" Margin="1" Spacing="1" Height="-1" Focusable="false" >
<GraphicObject Width="5" Height="0"/>
<Image Name="Image" Margin="1" Width="12" Height="12" Path="#go.Images.Icons.tetra.png"/>
<Label Foreground="White" Width="0" Name="Title" Margin="1" TextAlignment="Center" />
@@ -22,15 +22,15 @@ </VerticalStack>
</Border>
</Template>
- <VerticalStack Name="contentVSStack" Height="0" Width="0" Margin="10" Spacing="10">
+ <VerticalStack Name="contentVSStack" Margin="10" Spacing="10">
<Slider Name="slider" Height="10" Width="0"/>
<HorizontalStack Width="-1" Height="-1" Margin="0" Background="Red">
- <Checkbox Height="-1" Width="-1"/>
- <Checkbox Height="-1" Width="-1"/>
+ <Checkbox Height="-1" Width="100"/>
+ <Checkbox Height="-1" Width="100"/>
</HorizontalStack>
<GroupBox Title="test" Height="-1" Width="-1" Margin="5">
- <VerticalStack Width="-1">
+ <VerticalStack Height="-1" Width="-1">
<RadioButton Caption="Radio 1"/>
<RadioButton Caption="Radio 2" IsChecked="true"/>
<RadioButton Caption="Radio 3"/>
|