aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-04-27 14:58:27 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-04-27 14:58:27 +0200
commit7b8ff62e3ee75e19d9eeeabd31bedef371215554 (patch)
treef58ee90791028768b69921841cd604e20a3a5c02 /Tests/Interfaces
parent79224ffe3efe06a99cb5dfb183f16a5427504b2a (diff)
Layouting queue
Diffstat (limited to 'Tests/Interfaces')
-rwxr-xr-xTests/Interfaces/test0.goml4
-rwxr-xr-xTests/Interfaces/test1.1.goml15
-rwxr-xr-xTests/Interfaces/test1.2.goml18
-rwxr-xr-xTests/Interfaces/test1.goml15
4 files changed, 43 insertions, 9 deletions
diff --git a/Tests/Interfaces/test0.goml b/Tests/Interfaces/test0.goml
index 3163cc9a..102c1cac 100755
--- a/Tests/Interfaces/test0.goml
+++ b/Tests/Interfaces/test0.goml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<GraphicObject
- Top="10" Left="10"
- Width="10" Height="50"
+ HorizontalAlignment="Right"
+ VerticalAlignment="Bottom"
Margin="10" Background="Green"/>
diff --git a/Tests/Interfaces/test1.1.goml b/Tests/Interfaces/test1.1.goml
new file mode 100755
index 00000000..6ccf2c1c
--- /dev/null
+++ b/Tests/Interfaces/test1.1.goml
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<Group Width="0" Height="0" Margin="50"
+ Focusable="True" Background="Yellow">
+ <Group Width="-1" Height="-1" Margin="50"
+ VerticalAlignment="Top" HorizontalAlignment="Left"
+ Focusable="True" Background="Green">
+ <Image VerticalAlignment="Bottom"
+ Name="PhaseOverlay" Width="100" Height="100" Path="image/u.svg" Background="Red"/>
+ <Image Top="100"
+ Name="PhaseOverlay" Width="100" Height="100" Path="image/u.svg" Background="Red"/>
+ </Group>
+ <Image Top="100"
+ Name="PhaseOverlay" Width="100" Height="100" Path="image/u.svg" Background="Red"/>
+
+</Group> \ No newline at end of file
diff --git a/Tests/Interfaces/test1.2.goml b/Tests/Interfaces/test1.2.goml
new file mode 100755
index 00000000..c41135c9
--- /dev/null
+++ b/Tests/Interfaces/test1.2.goml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<VerticalStack>
+ <Label Text="label11"/>
+ <Label Text="label21"/>
+ <HorizontalStack Width="-1" Height="-1" Margin="50"
+ Focusable="True" Background="DarkBlue">
+ <Label Text="label12"/>
+ <Label Text="label22"/>
+ <Label Text="label32"/>
+ <Label Text="label42"/>
+ <Label Text="label52"/>
+ </HorizontalStack>
+ <Label Text="label33" Background="Green" Width="0"/>
+ <Button/>
+ <Label Text="label43"/>
+ <Label Text="label53"/>
+
+</VerticalStack> \ No newline at end of file
diff --git a/Tests/Interfaces/test1.goml b/Tests/Interfaces/test1.goml
index 43524e85..ff270768 100755
--- a/Tests/Interfaces/test1.goml
+++ b/Tests/Interfaces/test1.goml
@@ -1,9 +1,10 @@
<?xml version="1.0"?>
-<Container
- HorizontalAlignment="Left" VerticalAlignment="Center"
- Margin="10" Focusable="True" Fit="True" Background="Green">
- <Group Background="White" >
- <Image Name="PhaseOverlay" Width="40" Height="40"
- Path="image/u.svg" Background="Red"/>
- </Group>
+<Container Width="0" Height="-1"
+ Margin="100" Focusable="True" Background="Yellow">
+
+ <Container Width="-1" Height="-1"
+ Margin="10" Focusable="True" Background="Green">
+ <Image VerticalAlignment="Bottom"
+ Name="PhaseOverlay" Width="100" Height="100" Path="image/u.svg" Background="Red"/>
+ </Container>
</Container> \ No newline at end of file