diff --git a/src/Avalonia.Themes.Fluent2/Controls/TabItem.xaml b/src/Avalonia.Themes.Fluent2/Controls/TabItem.xaml index f7a30ae432..4635f6d59b 100644 --- a/src/Avalonia.Themes.Fluent2/Controls/TabItem.xaml +++ b/src/Avalonia.Themes.Fluent2/Controls/TabItem.xaml @@ -1,7 +1,7 @@  + xmlns="https://github.com/avaloniaui" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + x:ClassModifier="internal"> @@ -11,17 +11,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Uno.UI.FluentTheme.v2 Version2/PriorityDefault. Header: 24px SemiLight, padding 12,0, + height 48, subtle rounded hover fill; the selection indicator is an accent pill under + the header text (thickness bumped 2 -> 3 with fully rounded ends per the WinUI 3 + Fluent 2 selection-indicator shape). WinUI has no press scale. --> 48 - 24 - 3 - 1.5 + 24 + SemiLight + 12,0,12,0 + 0,12,0,12 + 1.5 + 3 @@ -29,19 +69,19 @@ + - + + Name="PART_LayoutRoot" + Background="{TemplateBinding Background}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + Padding="{TemplateBinding Padding}"> @@ -49,15 +89,18 @@ + Name="PART_ContentPresenter" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + Content="{TemplateBinding Header}" + FontSize="{TemplateBinding FontSize}" + FontFamily="{TemplateBinding FontFamily}" + FontWeight="{TemplateBinding FontWeight}" + ContentTemplate="{TemplateBinding HeaderTemplate}" + /> @@ -68,72 +111,114 @@ - - - - + + - - - - - - + + + + + + + + + + + + + + - - - + + - + + + + +