diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-06 16:53:23 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-06 16:53:23 +0100 |
| commit | 8c42e8eb2016ca433cc7adea278a27800f9f0050 (patch) | |
| tree | 2e39b2ac83d5ab0df28544e86490ac9e43473b17 /Tests/Interfaces/TemplatedContainer | |
| parent | 975df273eafe358482d892c108fbba1fdc5cac1f (diff) | |
tabview drag and drop of tabitem
Diffstat (limited to 'Tests/Interfaces/TemplatedContainer')
| -rw-r--r-- | Tests/Interfaces/TemplatedContainer/testTabView.crow | 6 | ||||
| -rw-r--r-- | Tests/Interfaces/TemplatedContainer/testTabView2.crow | 12 |
2 files changed, 10 insertions, 8 deletions
diff --git a/Tests/Interfaces/TemplatedContainer/testTabView.crow b/Tests/Interfaces/TemplatedContainer/testTabView.crow index bafb37e5..b262aa33 100644 --- a/Tests/Interfaces/TemplatedContainer/testTabView.crow +++ b/Tests/Interfaces/TemplatedContainer/testTabView.crow @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> -<VerticalStack Height="90%" Width="95%"> +<Group Height="90%" Width="95%"> +<VerticalStack > <HorizontalStack Height="Fit"> <Label Text="Selected Tab:"/> <Label Text="{../../tabview1.SelectedTab}"/> </HorizontalStack> - <TabView Name="tabview1" Background="Onyx" Orientation="Horizontal" Margin="20"> + <TabView Name="tabview1" Background="Onyx" Orientation="Horizontal"> <TabItem Name="TabItem1" Caption="tab item 1" Background="Onyx"> <VerticalStack Margin="20"> <CheckBox/> @@ -33,3 +34,4 @@ <Button Background="vgradient|0:DimGray|1:Black" HorizontalAlignment="Right" Caption="Add new tab" Width="Fit" Height="30" MouseDown="onAddTabButClick"/> </VerticalStack> +</Group>
\ No newline at end of file diff --git a/Tests/Interfaces/TemplatedContainer/testTabView2.crow b/Tests/Interfaces/TemplatedContainer/testTabView2.crow index 3b7b33b3..7d9275c9 100644 --- a/Tests/Interfaces/TemplatedContainer/testTabView2.crow +++ b/Tests/Interfaces/TemplatedContainer/testTabView2.crow @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> -<HorizontalStack Height="90%" Width="99%"> - <VerticalStack Width="50%"> +<HorizontalStack Height="90%" Width="99%" Spacing="50"> + <VerticalStack Width="40%"> <HorizontalStack Height="Fit"> <Label Text="Selected Tab:"/> <Label Text="{../../tabview1.SelectedTab}"/> </HorizontalStack> - <TabView Name="tabview1" Background="Onyx" Orientation="Horizontal" Spacing="-10" Margin="50"> + <TabView Name="tabview1" Background="Onyx" Orientation="Horizontal" Margin="5" > <TabItem Name="TabItem1" Caption="tab-1.1" Background="Onyx"> <VerticalStack Margin="20"> <CheckBox/> @@ -31,12 +31,12 @@ <Button Background="vgradient|0:DimGray|1:Black" HorizontalAlignment="Right" Caption="Add new tab" Width="Fit" Height="30" MouseDown="onAddTabButClick"/> </VerticalStack> - <VerticalStack Width="50%"> +<!-- <VerticalStack Width="40%"> <HorizontalStack Height="Fit"> <Label Text="Selected Tab:"/> <Label Text="{../../tabview2.SelectedTab}"/> </HorizontalStack> - <TabView Name="tabview2" Background="Onyx" Orientation="Horizontal" Spacing="-10" Margin="50"> + <TabView Name="tabview2" Background="Onyx" Orientation="Horizontal" > <TabItem Name="TabItem1" Caption="tab-2.1" Background="Onyx"> <VerticalStack Margin="20"> <CheckBox/> @@ -61,5 +61,5 @@ </TabView> <Button Background="vgradient|0:DimGray|1:Black" HorizontalAlignment="Right" Caption="Add new tab" Width="Fit" Height="30" MouseDown="onAddTabButClick2"/> - </VerticalStack> + </VerticalStack>--> </HorizontalStack> |