aboutsummaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
-rw-r--r--Templates/TabItem.crow3
-rw-r--r--Tests/Interfaces/testTabView.crow12
2 files changed, 12 insertions, 3 deletions
diff --git a/Templates/TabItem.crow b/Templates/TabItem.crow
index 8026c216..94d60735 100644
--- a/Templates/TabItem.crow
+++ b/Templates/TabItem.crow
@@ -5,8 +5,7 @@
HorizontalAlignment="Left"
Text="{../../Caption}"
Height="{../../../TabThickness}"
- Left="{../../TabOffset}"
- LayoutChanged="../../../TabTitleLayoutChanged"/>
+ Left="{../../TabOffset}"/>
<Container
Name="Content" Width="{../../../WidthPolicy}" Height="{../../../HeightPolicy}"/>
</GenericStack>
diff --git a/Tests/Interfaces/testTabView.crow b/Tests/Interfaces/testTabView.crow
index bad15453..32a52555 100644
--- a/Tests/Interfaces/testTabView.crow
+++ b/Tests/Interfaces/testTabView.crow
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<HorizontalStack Fit="true">
- <TabView CacheEnabled="false" Width="200" Height="200" Orientation="Horizontal" Spacing="20" Margin="0">
+ <TabView CacheEnabled="false" Width="400" Height="200" Orientation="Horizontal" Spacing="20" Margin="0">
<TabItem Name="TabItem1" Caption="tab item 1" Width="0" Height="0" Margin="0" Background="Gray"
MouseEnter="{Background=Red}" Focusable="true"
MouseLeave="{Background=Gray}">
@@ -23,6 +23,16 @@
<Label Text="{fps}" HorizontalAlignment="Left" Background="LimeGreen"/>
</VerticalStack>
</TabItem>
+ <TabItem Name="TabItem2" Caption="tab item 3" Width="0" Height="0" Margin="0" Background="Gray"
+ MouseEnter="{Background=BlueCrayola}"
+ MouseLeave="{Background=Gray}">
+ <TextBox Width="0" Height="0" Multiline="true" TextAlignment="TopLeft"/>
+ </TabItem>
+ <TabItem Name="TabItem2" Caption="tab item 4" Width="0" Height="0" Margin="0" Background="Gray"
+ MouseEnter="{Background=BlueCrayola}"
+ MouseLeave="{Background=Gray}">
+ <TextBox/>
+ </TabItem>
</TabView>
<TabView CacheEnabled="false" Width="200" Height="200" Orientation="Horizontal" Spacing="20" Margin="0">
<TabItem