diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-19 12:57:52 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-19 12:57:52 +0100 |
| commit | 62b7da7bd90207c6747b643b40ab80e095fa8b50 (patch) | |
| tree | 21fcba2dd11da3035537e3ac1b3db3911f6b4bb5 /Tests/Interfaces | |
| parent | b5310f4458fe089b3df2667e90f9eb925d59a762 (diff) | |
tabview debug, never set focusedIdx to -1, should find another way to known if event have to be routed up to the Opentk app
Diffstat (limited to 'Tests/Interfaces')
| -rw-r--r-- | Tests/Interfaces/TabItem.template | 4 | ||||
| -rw-r--r-- | Tests/Interfaces/TemplatedContainer/testTabView.crow | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Tests/Interfaces/TabItem.template b/Tests/Interfaces/TabItem.template index 26ecd47c..c59576ed 100644 --- a/Tests/Interfaces/TabItem.template +++ b/Tests/Interfaces/TabItem.template @@ -1,10 +1,10 @@ <?xml version="1.0"?> <GenericStack Orientation="Vertical" Spacing="0" - Background="Onyx" + Background="{./Background}" MouseEnter="{/caption.Foreground=White}" MouseLeave="{/caption.Foreground=Gray}"> <HorizontalStack Margin="2" Left="{./TabOffset}" - Name="TabTitle" + Name="TabTitle" Background="{./Background}" HorizontalAlignment="Left" Height="{./TabThickness}" Width="Fit"> diff --git a/Tests/Interfaces/TemplatedContainer/testTabView.crow b/Tests/Interfaces/TemplatedContainer/testTabView.crow index 59567ed4..f9934007 100644 --- a/Tests/Interfaces/TemplatedContainer/testTabView.crow +++ b/Tests/Interfaces/TemplatedContainer/testTabView.crow @@ -4,8 +4,8 @@ <Label Text="Selected Tab:"/> <Label Text="{../../tabview1.SelectedTab}"/> </HorizontalStack> - <TabView Name="tabview1" Orientation="Horizontal" Spacing="24" Margin="50"> - <TabItem Name="TabItem1" Caption="tab item 1" > + <TabView Name="tabview1" Background="Onyx" Orientation="Horizontal" Spacing="14" Margin="50"> + <TabItem Name="TabItem1" Caption="tab item 1" Background="Onyx"> <VerticalStack Margin="20"> <CheckBox/> <CheckBox/> @@ -13,20 +13,20 @@ <CheckBox/> </VerticalStack> </TabItem> - <TabItem Name="TabItem2" Caption="tab item 2" Background="Gray"> - <VerticalStack Background="DimGray" Height="Fit" Margin="10"> + <TabItem Name="TabItem2" Caption="tab item 2" Background="Onyx"> + <VerticalStack Height="Fit" Margin="10"> <RadioButton Fit="true"/> <RadioButton/> <RadioButton/> <RadioButton/> </VerticalStack> </TabItem> - <TabItem Name="TabItem3" Caption="tab item 3" Background="Gray"> + <TabItem Name="TabItem3" Background="Onyx" Caption="tab item 3"> <Container Margin="5" CornerRadius="2" > <TextBox Margin="5" Multiline="true" TextAlignment="TopLeft"/> </Container> </TabItem> - <TabItem Name="TabItem4" Caption="tab item 4" Margin="0" Background="Gray"> + <TabItem Name="TabItem4" Background="Onyx" Caption="tab item 4" Margin="0"> <TextBox/> </TabItem> </TabView> |