diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-11 14:02:13 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-11 14:02:13 +0200 |
| commit | f986e2521e113bd67a2f06b92c2ca774aa1e0937 (patch) | |
| tree | f039053c4dbd77cb5b1e199e5f9f17bd27a62ce7 /Tests/Interfaces | |
| parent | 24cf921e07c87c5491c68f3f59f6664410333dbd (diff) | |
- popper (buggy)
- many redraw issue
Diffstat (limited to 'Tests/Interfaces')
| -rwxr-xr-x | Tests/Interfaces/fps.goml | 18 | ||||
| -rwxr-xr-x | Tests/Interfaces/test4.goml | 45 |
2 files changed, 33 insertions, 30 deletions
diff --git a/Tests/Interfaces/fps.goml b/Tests/Interfaces/fps.goml index 7c18d4ce..50e69604 100755 --- a/Tests/Interfaces/fps.goml +++ b/Tests/Interfaces/fps.goml @@ -1,19 +1,20 @@ <?xml version="1.0"?>
<Container Name="MainGrp"
- HorizontalAlignment="Right" VerticalAlignment="Bottom"
+
Margin="10" Focusable="True" Fit="True">
-
- <VerticalStack Fit="True" BorderWidth="1" Margin="5" WidgetSpacing="4">
- <HorizontalStack>
+ <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>
+ </HorizontalStack>-->
<HorizontalStack>
<Label Text="Fps:" Width = "30" VerticalAlignment="Center" TextAlignment="LeftCenter"/>
<Label Name="labFps" Text="{fps}" Font="droid bold, 12"
TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
- <HorizontalStack>
+<!-- <HorizontalStack>
<Label Text="Min:" Width = "30" />
<Label Name="labFpsMin" Text="{fpsMin}" Font="droid bold, 12"
TextAlignment="Center" Background="AoEnglish"/>
@@ -22,6 +23,7 @@ <Label Text="Max:" Width = "30"/>
<Label Name="labFpsMax" Text="{fpsMax}" Font="droid bold, 12"
TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>
- </VerticalStack>
+ </HorizontalStack>-->
+<!-- </VerticalStack>-->
+ </Expandable>
</Container>
\ No newline at end of file diff --git a/Tests/Interfaces/test4.goml b/Tests/Interfaces/test4.goml index e2fa4643..9fd33b7d 100755 --- a/Tests/Interfaces/test4.goml +++ b/Tests/Interfaces/test4.goml @@ -84,12 +84,33 @@ </GroupBox>
<Slider Height="10" Width="300" BorderWidth="1" Background="Transparent" />
<GraduatedSlider Name="slider" Height="30" Width="300" Foreground="BlueBell"/>
-
</VerticalStack>
<VerticalStack Width="-1" Height="-1" BorderWidth="1" Margin="5" WidgetSpacing="4">
<Button Margin="1" Width="150" Height="100">
- <Image Path="#Tests.image.tetra.png"/>
+ <Image Path="#Tests.image.tetra.png"/>
</Button>
+ <Popper>
+ <Image Fit="true" Path="#Tests.image.tetra.png"/>
+ </Popper>
+ <HorizontalStack>
+ <Label Text="Update" FontColor="White"/>
+ <Label Name="labUpdate" Text="xxxx" FontSize="16" Width="60" TextAlignment="Center" Background="DarkGreen"/>
+ </HorizontalStack>
+ <HorizontalStack>
+ <Label Text="Fps:" Width = "30"/>
+ <Label Name="labFps" Text="{fps}" Font="droid bold, 14"
+ TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
+ <HorizontalStack>
+ <Label Text="Min:" Width = "30"/>
+ <Label Name="labFpsMin" Text="{fpsMin}" Font="droid bold, 14"
+ TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
+ <HorizontalStack>
+ <Label Text="Max:" Width = "30"/>
+ <Label Name="labFpsMax" Text="{fpsMax}" Font="droid bold, 14"
+ TextAlignment="Center" Background="AoEnglish"/>
+ </HorizontalStack>
<Expandable Name="expander" Width="150" Height="-1">
<VerticalStack Name="vsExpanded" Width="100">
<Checkbox Name="chk1"/>
@@ -110,26 +131,6 @@ <Checkbox Name="chk2"/>
</VerticalStack>
</Expandable>
-
- <HorizontalStack>
- <Label Text="Update" FontColor="White"/>
- <Label Name="labUpdate" Text="xxxx" FontSize="16" Width="60" TextAlignment="Center" Background="DarkGreen"/>
- </HorizontalStack>
- <HorizontalStack>
- <Label Text="Fps:" Width = "30"/>
- <Label Name="labFps" Text="{fps}" Font="droid bold, 14"
- TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>
- <HorizontalStack>
- <Label Text="Min:" Width = "30"/>
- <Label Name="labFpsMin" Text="{fpsMin}" Font="droid bold, 14"
- TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>
- <HorizontalStack>
- <Label Text="Max:" Width = "30"/>
- <Label Name="labFpsMax" Text="{fpsMax}" Font="droid bold, 14"
- TextAlignment="Center" Background="AoEnglish"/>
- </HorizontalStack>
</VerticalStack>
<Scroller Background="DimGray" Height="350" Width="150"
|