aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-15 14:06:13 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-15 14:06:13 +0100
commit0eb9fb424f826da3cf03bf03e2844ed61df9f594 (patch)
treed3258e3e433ce82241f34bd27eb220e5c69be901 /Tests
parent2def04e1eec8b2ae2ee1cf952a2975f8ca6e8b05 (diff)
draw selected tab last, try mouseIsIn
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Interfaces/testTabView.crow8
1 files changed, 6 insertions, 2 deletions
diff --git a/Tests/Interfaces/testTabView.crow b/Tests/Interfaces/testTabView.crow
index 8f25ffcd..0e2d5658 100644
--- a/Tests/Interfaces/testTabView.crow
+++ b/Tests/Interfaces/testTabView.crow
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<TabView Orientation="Horizontal" Spacing="20" Margin="0">
- <TabItem Caption="tab 1" Width="0" Height="0" Margin="0" Background="Gray">
+ <TabItem Name="TabItem1" Caption="tab 1" Width="0" Height="0" Margin="0" Background="Gray"
+ MouseEnter="{Background=Red}"
+ MouseLeave="{Background=Gray}">
<Label Text="tab content test 1"/>
</TabItem>
- <TabItem Caption="tab 2" Width="0" Height="0" Margin="0" Background="Gray">
+ <TabItem Name="TabItem2" Caption="tab 2" Width="0" Height="0" Margin="0" Background="Gray"
+ MouseEnter="{Background=Red}"
+ MouseLeave="{Background=Gray}">
<Label Text="tab content test 2"/>
</TabItem>