aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/TemplatedContainer/testWindow.goml
blob: d27d02b82af9cfe758c72fa9aa5fa20369f431d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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" />
			<GraphicObject 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"/>
			<GraphicObject 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:AoEnglish|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:AoEnglish|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:AoEnglish|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:AoEnglish|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:AoEnglish|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:AoEnglish|1:Black"/>
						</HorizontalStack>
					</VerticalStack>
			</Container>
		</Border>
		<HorizontalStack Fit="true" Background="BlueCrayola" Margin="3">
			<GraphicObject Margin="10" Background="LimeGreen" Width="5" Height="5"/>
			<TextBox Font="droid, 16" Multiline="true" Text="this is a test\nmultiline" Margin="2"/>
			<GraphicObject Margin="10" Background="LimeGreen" Width="5" Height="5"/>
		</HorizontalStack>
	</VerticalStack>
</Window>