diff --git a/src/Semi.Avalonia.Demo/MainWindow.axaml b/src/Semi.Avalonia.Demo/MainWindow.axaml index eed45f8..24d44d5 100644 --- a/src/Semi.Avalonia.Demo/MainWindow.axaml +++ b/src/Semi.Avalonia.Demo/MainWindow.axaml @@ -4,7 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:pages="using:Semi.Avalonia.Demo.Pages" Title="Semi.Demo" d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"> - + diff --git a/src/Semi.Avalonia.Demo/Pages/TabControlDemo.axaml b/src/Semi.Avalonia.Demo/Pages/TabControlDemo.axaml index 3f479d0..30e0325 100644 --- a/src/Semi.Avalonia.Demo/Pages/TabControlDemo.axaml +++ b/src/Semi.Avalonia.Demo/Pages/TabControlDemo.axaml @@ -9,6 +9,9 @@ + @@ -16,6 +19,9 @@ + @@ -23,6 +29,9 @@ + @@ -30,6 +39,9 @@ + diff --git a/src/Semi.Avalonia/Controls/TabItem.axaml b/src/Semi.Avalonia/Controls/TabItem.axaml index 723c6e2..7fb9519 100644 --- a/src/Semi.Avalonia/Controls/TabItem.axaml +++ b/src/Semi.Avalonia/Controls/TabItem.axaml @@ -2,7 +2,7 @@ - + @@ -24,7 +24,7 @@ BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}"> - + Foreground="{TemplateBinding Foreground}" /> + IsVisible="True" UseLayoutRounding="False" /> @@ -46,33 +46,26 @@ - + + - - - - - - - - - @@ -90,52 +83,48 @@ - - - - - - - - - - + + diff --git a/src/Semi.Avalonia/Themes/Light/TabItem.axaml b/src/Semi.Avalonia/Themes/Light/TabItem.axaml index 12369ed..664042f 100644 --- a/src/Semi.Avalonia/Themes/Light/TabItem.axaml +++ b/src/Semi.Avalonia/Themes/Light/TabItem.axaml @@ -1,4 +1,6 @@ - + @@ -7,11 +9,11 @@ - + + - - + 600