diff --git a/src/Avalonia.Themes.Fluent2/Controls/TabbedPage.xaml b/src/Avalonia.Themes.Fluent2/Controls/TabbedPage.xaml
index b92731dd3b..6b03a96909 100644
--- a/src/Avalonia.Themes.Fluent2/Controls/TabbedPage.xaml
+++ b/src/Avalonia.Themes.Fluent2/Controls/TabbedPage.xaml
@@ -2,22 +2,86 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -62,12 +126,16 @@
4
+ the other placements are corrected via TabStripPlacement styles below. -->
0
0,1,0,0
0
0
+ 3
+ 16
+ 2
+
@@ -109,7 +177,7 @@
@@ -128,10 +196,10 @@
-
+
-
-
+
+
@@ -143,6 +211,8 @@
@@ -173,7 +243,7 @@
Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}"
FontFamily="{TemplateBinding FontFamily}"
- FontSize="{DynamicResource TabbedPageTabItemHeaderFontSize}"
+ FontSize="{TemplateBinding FontSize}"
FontWeight="{TemplateBinding FontWeight}" />
@@ -189,32 +259,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -228,8 +417,8 @@
+ Height="{DynamicResource TabbedPageTabItemSelectionIndicatorWidth}"
+ Width="{DynamicResource TabbedPageTabItemSelectionIndicatorHeight}" />
@@ -238,32 +427,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-