diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-03 19:49:15 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-03 19:49:15 +0200 |
| commit | e6030fa04a8de3fdae1dc19d081bf5feb3d3d73c (patch) | |
| tree | 89f392cd974d1109a203ade305da467bd378ee48 /Samples/common/ui/Interfaces/TemplatedContainer/testWindow.goml | |
| parent | cad504c62d45952b4651603579f34df0d230841e (diff) | |
sample directory
Diffstat (limited to 'Samples/common/ui/Interfaces/TemplatedContainer/testWindow.goml')
| -rwxr-xr-x | Samples/common/ui/Interfaces/TemplatedContainer/testWindow.goml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Samples/common/ui/Interfaces/TemplatedContainer/testWindow.goml b/Samples/common/ui/Interfaces/TemplatedContainer/testWindow.goml new file mode 100755 index 00000000..e42a5c9f --- /dev/null +++ b/Samples/common/ui/Interfaces/TemplatedContainer/testWindow.goml @@ -0,0 +1,68 @@ +<?xml version="1.0"?> +<Window Left="10" Top="10" Caption="Test window" + Width="250" Height="550" > + <VerticalStack Name="contentVSStack" Margin="10" Spacing="10" Background="0.4,0.4,0.4,0.4"> + <Slider Name="slider" Height="12" Width="Stretched" CornerRadius="3"/> + <GroupBox Caption="test" Height="Fit" Width="Stretched" Margin="5"> + <VerticalStack Height="Fit" Width="Stretched" > + <RadioButton Caption="Radio 1" Background="Red" Width="Stretched"/> + <RadioButton Caption="Radio 2" IsChecked="true" /> + <RadioButton Caption="Radio 3" /> + <RadioButton Caption="Radio 1" Background="SkyBlue" Width="Stretched"/> + </VerticalStack> + </GroupBox> + <HorizontalStack Width="Stretched" Height="Fit" Margin="10" CornerRadius="5" Background="SkyBlue"> + <RadioButton Width="80" Height="Fit" Caption="Radio 2" IsChecked="true" /> + <Widget Width="Stretched"/> + <RadioButton Width="80" Height="Fit" Caption="Radio 3" /> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Stretched" MinimumSize="10,40" Margin="0" CornerRadius="5" + Background="vgradient|0:White|0.1:SteelBlue|0.9:SteelBlue|1:Transparent"> + <CheckBox Height="Fit" Width="80"/> + <Widget Width="Stretched"/> + <CheckBox Height="Fit" Width="80" IsChecked="true"/> + </HorizontalStack> + <Border Fit="true" CornerRadius="5" BorderWidth="1" > + <Container Name="MainGrp" Background="0.5,0.5,0.5,0.4" Width="120" Fit="true" + Margin="10" Focusable="True" > + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Clipping:" Width="50" TextAlignment="Right"/> + <Label Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + </VerticalStack> + </Container> + </Border> + <HorizontalStack Fit="true" Background="RoyalBlue" Margin="3"> + <Widget Margin="10" Background="LimeGreen" Width="5" Height="5"/> + <TextBox Font="droid, 16" Multiline="true" Text="this is a test\nmultiline" Margin="2"/> + <Widget Margin="10" Background="LimeGreen" Width="5" Height="5"/> + </HorizontalStack> + </VerticalStack> +</Window>
\ No newline at end of file |