aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-08 16:06:53 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-08 16:06:53 +0200
commit81bb03ff0eb1310f42d2e2dfa6cbc236f672ca71 (patch)
tree1e823a64546f366a74ec70913a85e6de8a0177d9 /Tests/Interfaces
parent967f9bbeca46517f3d94d1eb4b04a3e36c8a31f0 (diff)
Clear function
Diffstat (limited to 'Tests/Interfaces')
-rwxr-xr-xTests/Interfaces/fps.goml40
-rwxr-xr-xTests/Interfaces/testWindow.goml10
2 files changed, 21 insertions, 29 deletions
diff --git a/Tests/Interfaces/fps.goml b/Tests/Interfaces/fps.goml
index 50e69604..151d9905 100755
--- a/Tests/Interfaces/fps.goml
+++ b/Tests/Interfaces/fps.goml
@@ -1,29 +1,25 @@
<?xml version="1.0"?>
-<Container Name="MainGrp"
-
- Margin="10" Focusable="True" Fit="True">
- <Expandable Width="150" Background="Green" Margin="2">
-<!-- HorizontalAlignment="Right" VerticalAlignment="Bottom"-->
-<!-- <VerticalStack Fit="True" BorderWidth="1" Margin="5" WidgetSpacing="4">-->
-<!-- <HorizontalStack>
- <Label Text="Update:" FontColor="White" VerticalAlignment="Center" />
- <Label Name="labUpdate" Text="xxxx" FontSize="12" Width="60" TextAlignment="Center" Background="DarkGreen"/>
- </HorizontalStack>-->
+<Container Name="MainGrp" Background="0,5;0,5;0,5;0,5"
+ HorizontalAlignment="Left" VerticalAlignment="Top"
+ Margin="10" Width="-1" Height="-1" Focusable="True" >
+
+ <VerticalStack Name="vsFps" BorderWidth="1" Margin="5" Spacing="4">
<HorizontalStack>
- <Label Text="Fps:" Width = "30" VerticalAlignment="Center" TextAlignment="LeftCenter"/>
- <Label Name="labFps" Text="{fps}" Font="droid bold, 12"
- TextAlignment="Center" Background="AoEnglish"/>
+ <Label Text="Update:" FontColor="White" />
+ <Label Name="labUpdate" Text="{update}" FontSize="12" Background="DarkGreen"/>
</HorizontalStack>
-<!-- <HorizontalStack>
+ <HorizontalStack Name="hsFps" Background="Red" >
+ <Label Name="captionFps" Text="Fps:" />
+ <Label Name="valueFps" Text="{fps}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
+ <HorizontalStack Background="Red">
<Label Text="Min:" Width = "30" />
- <Label Name="labFpsMin" Text="{fpsMin}" Font="droid bold, 12"
- TextAlignment="Center" Background="AoEnglish"/>
+ <Label Text="{fpsMin}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
- <HorizontalStack>
+ <HorizontalStack Background="Red" >
<Label Text="Max:" Width = "30"/>
- <Label Name="labFpsMax" Text="{fpsMax}" Font="droid bold, 12"
- TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>-->
-<!-- </VerticalStack>-->
- </Expandable>
+ <Label Text="{fpsMax}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
+
+ </VerticalStack>
</Container> \ No newline at end of file
diff --git a/Tests/Interfaces/testWindow.goml b/Tests/Interfaces/testWindow.goml
index ae9cbc25..dc9dc3dc 100755
--- a/Tests/Interfaces/testWindow.goml
+++ b/Tests/Interfaces/testWindow.goml
@@ -2,10 +2,10 @@
<!--<Group>-->
<Window Name="window1" Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0,5;0,5;0,5;0,5"
Focusable="True">
- <VerticalStack Name="contentVSStack" Height="0" Width="0" Margin="1" Spacing="10">
- <Slider Name="slider" Height="20" Width="0"/>
+ <VerticalStack Name="contentVSStack" Height="0" Width="0" Margin="10" Spacing="10">
+ <Slider Name="slider" Height="10" Width="0"/>
- <HorizontalStack Width="0" Height="-1" Margin="0" Background="Red">
+ <HorizontalStack Width="-1" Height="-1" Margin="0" Background="Red">
<Checkbox Height="-1" Width="-1"/>
<Checkbox Height="-1" Width="-1"/>
</HorizontalStack>
@@ -14,10 +14,6 @@
<RadioButton Caption="Radio 1"/>
<RadioButton Caption="Radio 2" IsChecked="true"/>
<RadioButton Caption="Radio 3"/>
- <RadioButton Caption="Radio 4"/>
- <RadioButton Caption="Radio 5"/>
- <RadioButton Caption="Radio 6"/>
- <RadioButton Caption="Radio 7"/>
</VerticalStack>
</GroupBox>
<!-- <Checkbox Height="-1" Width="-1" Background="Red" Margin="0" VerticalAlignment="Center" HorizontalAlignment="Right"/>-->