]> O.S.I.I.S - jp/crow.git/commitdiff
code clean
authorjpbruyere <jp.bruyere@hotmail.com>
Mon, 15 Feb 2016 23:14:49 +0000 (00:14 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Mon, 15 Feb 2016 23:56:33 +0000 (00:56 +0100)
Templates/TabItem.crow
Tests/Interfaces/testTabView.crow

index 8026c216ea72436c030cefe9b87d63da706efc32..94d607354a50f971ee4670a7c6278541e6e1a47b 100644 (file)
@@ -5,8 +5,7 @@
                HorizontalAlignment="Left"
                Text="{../../Caption}"
                Height="{../../../TabThickness}"
-               Left="{../../TabOffset}"
-               LayoutChanged="../../../TabTitleLayoutChanged"/>
+               Left="{../../TabOffset}"/>
        <Container
                Name="Content" Width="{../../../WidthPolicy}" Height="{../../../HeightPolicy}"/>
 </GenericStack>
index bad154530b73e2151f0e3e96ee6937a11c8c421e..32a525559002d4e3665b89a37d21a10649514c48 100644 (file)
@@ -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}">
                                <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