aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/testTabView.crow
blob: 27c221f4d1200956766696c8d17f53e130aa585d (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
<?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/>
				</VerticalStack>
			</TabItem>
			<TabItem Name="TabItem2" Caption="tab item 2" Width="Stretched" Height="Stretched" Margin="0" Background="Gray">
				<VerticalStack Fit="true">
					<RadioButton/>
					<RadioButton/>
					<RadioButton/>
					<RadioButton/>
				</VerticalStack>
			</TabItem>
			<TabItem Name="TabItem2" Caption="tab item 3" Width="Stretched" Height="Stretched" Margin="0" Background="Gray">
				<Container Margin="5" CornerRadius="2" Width="Stretched" Height="Stretched">
					<TextBox Margin="5" Width="Stretched" Height="Stretched" Multiline="true" TextAlignment="TopLeft"/>
				</Container>
			</TabItem>
			<TabItem Name="TabItem2" Caption="tab item 4" Width="Stretched" Height="Stretched" Margin="0" Background="Gray">
				<TextBox/>
			</TabItem>
		</TabView>
		<Button Background="vgradient|0:DimGray|1:Black" HorizontalAlignment="Right"
			Caption="Add new tab" Width="Fit" Height="30" MouseClick="onAddTabButClick"/>
	</VerticalStack>
</HorizontalStack>