From f00833368385ef86df6bcc0ecc8715424727c34b Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Tue, 8 Apr 2025 21:13:07 +0800 Subject: [PATCH] feat: sync with TabControl Themes. --- src/Semi.Avalonia/Controls/TabStrip.axaml | 245 +++++++++++++++------- 1 file changed, 175 insertions(+), 70 deletions(-) diff --git a/src/Semi.Avalonia/Controls/TabStrip.axaml b/src/Semi.Avalonia/Controls/TabStrip.axaml index 84d569b..6828287 100644 --- a/src/Semi.Avalonia/Controls/TabStrip.axaml +++ b/src/Semi.Avalonia/Controls/TabStrip.axaml @@ -2,108 +2,213 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:CompileBindings="True"> + + + + + + + + + + - + - - + + - - - - + + + + + + + + + + + + + + + + + + + - - + + + + + + + - - - - + - - - - - - + Content="{TemplateBinding Content}" + ContentTemplate="{TemplateBinding ContentTemplate}" + CornerRadius="{TemplateBinding CornerRadius}" + FontFamily="{TemplateBinding FontFamily}" + FontWeight="{TemplateBinding FontWeight}" + Foreground="{TemplateBinding Foreground}" /> - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file