aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/testTabView.crow
blob: 3a081597c918b9cf31d650fbb3c23d019464c9a5 (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
<?xml version="1.0" encoding="UTF-8" ?>
<HorizontalStack Fit="true">
	<VerticalStack Fit="true">
		<TabView Name="tabview1"
			Width="400" Height="200" Orientation="Horizontal" Spacing="20">
			<TabItem Name="TabItem1" Caption="tab item 1" Margin="0">
				<VerticalStack Fit="true">
					<CheckBox/>
					<CheckBox/>
					<CheckBox/>
					<CheckBox/>
<!--					<Label Text="{fps}" HorizontalAlignment="Right" Foreground="Black" Background="Yellow"/>-->
				</VerticalStack>
			</TabItem>
			<TabItem Name="TabItem2" Caption="tab item 2" Width="0" Height="0" Margin="0" Background="Gray">
				<VerticalStack Fit="true">
					<RadioButton/>
					<RadioButton/>
					<RadioButton/>
					<RadioButton/>
<!--					<Label Text="{fps}" HorizontalAlignment="Left" Background="LimeGreen"/>-->
				</VerticalStack>
			</TabItem>
			<TabItem Name="TabItem2" Caption="tab item 3" Width="0" Height="0" Margin="0" Background="Gray">
				<Container Margin="5" CornerRadius="2" Width="0" Height="0">
					<TextBox Margin="5" Width="0" Height="0" Multiline="true" TextAlignment="TopLeft"/>
				</Container>
			</TabItem>
			<TabItem Name="TabItem2" Caption="tab item 4" Width="0" Height="0" Margin="0" Background="Gray">
				<TextBox/>
			</TabItem>
		</TabView>
		<Button Background="vgradient|0:DimGray|1:Black" HorizontalAlignment="Right"
			Caption="Add new tab" Width="-1" Height="30" MouseClick="onAddTabButClick"/>
	</VerticalStack>
	<TabView CacheEnabled="false" Width="200" Height="200" Orientation="Horizontal" Spacing="20" Margin="0">
		<TabItem
		 	Name="TabItem1" Caption="tab 1" Width="0" Height="0" Margin="0" Background="Gray">
			<VerticalStack Fit="true">
				<CheckBox/>
				<CheckBox/>
				<CheckBox/>
				<CheckBox/>
				<Label Text="{fps}" HorizontalAlignment="Right" Foreground="Black" Background="Yellow"/>
			</VerticalStack>
		</TabItem>
		<TabItem
			Name="TabItem2" Caption="tab 2" Width="0" Height="0" Margin="0" Background="Gray">
			<VerticalStack Fit="true">
				<RadioButton/>
				<RadioButton/>
				<RadioButton/>
				<RadioButton/>
				<Label Text="{fps}" HorizontalAlignment="Left" Background="LimeGreen"/>
			</VerticalStack>
		</TabItem>
	</TabView>
</HorizontalStack>