diff --git a/src/Semi.Avalonia/Controls/Button.axaml b/src/Semi.Avalonia/Controls/Button.axaml index 6345893..6814410 100644 --- a/src/Semi.Avalonia/Controls/Button.axaml +++ b/src/Semi.Avalonia/Controls/Button.axaml @@ -8,21 +8,21 @@ - - - - - + + + + + + - - - - - + + + + @@ -35,9 +35,9 @@ VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" BackgroundSizing="{TemplateBinding BackgroundSizing}" BorderThickness="{TemplateBinding BorderThickness}" + CornerRadius="{TemplateBinding CornerRadius}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" - CornerRadius="{TemplateBinding CornerRadius}" RecognizesAccessKey="True" TextElement.FontSize="{TemplateBinding FontSize}" TextElement.FontWeight="{TemplateBinding FontWeight}" @@ -46,42 +46,42 @@ - - - - - - @@ -254,13 +254,13 @@ BasedOn="{StaticResource {x:Type Button}}" TargetType="Button"> diff --git a/src/Semi.Avalonia/Controls/DropDownButton.axaml b/src/Semi.Avalonia/Controls/DropDownButton.axaml index e53fdae..9f80d17 100644 --- a/src/Semi.Avalonia/Controls/DropDownButton.axaml +++ b/src/Semi.Avalonia/Controls/DropDownButton.axaml @@ -2,117 +2,113 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:CompileBindings="True"> + + + + + + + + + + + - - - - - - + + + + + + - - + + + - - + + - - + - - - - - - - - - - - - - - - @@ -127,162 +123,193 @@ - - - + + + - - + + - - + - - + - - + - - + - - - - + - - - - + + + - - - - + - - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/SplitButton.axaml b/src/Semi.Avalonia/Controls/SplitButton.axaml index 1e50f72..a7e79d8 100644 --- a/src/Semi.Avalonia/Controls/SplitButton.axaml +++ b/src/Semi.Avalonia/Controls/SplitButton.axaml @@ -20,10 +20,10 @@ - - - + + + @@ -38,13 +38,13 @@ VerticalAlignment="{TemplateBinding VerticalAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" - Background="{TemplateBinding Background}" BackgroundSizing="{TemplateBinding BackgroundSizing}" + Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" + CornerRadius="{TemplateBinding CornerRadius}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" - CornerRadius="{TemplateBinding CornerRadius}" RecognizesAccessKey="True" TextElement.FontSize="{TemplateBinding FontSize}" TextElement.FontWeight="{TemplateBinding FontWeight}" @@ -54,20 +54,22 @@ - - - - - - + + + + + + - - - + - + + + + + - + + @@ -152,8 +157,8 @@ Classes="Solid" /> - + @@ -162,6 +167,15 @@ + + + @@ -315,8 +329,8 @@ @@ -344,9 +358,9 @@ @@ -359,9 +373,9 @@ \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/ToggleButton.axaml b/src/Semi.Avalonia/Controls/ToggleButton.axaml index 13aeb81..c91fef9 100644 --- a/src/Semi.Avalonia/Controls/ToggleButton.axaml +++ b/src/Semi.Avalonia/Controls/ToggleButton.axaml @@ -19,77 +19,10 @@ Toggle 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + - - - - - - - - - - + - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/ToggleSwitch.axaml b/src/Semi.Avalonia/Controls/ToggleSwitch.axaml index 8c0bafc..8171df2 100644 --- a/src/Semi.Avalonia/Controls/ToggleSwitch.axaml +++ b/src/Semi.Avalonia/Controls/ToggleSwitch.axaml @@ -114,20 +114,6 @@ - - - @@ -208,6 +194,16 @@ - @@ -372,24 +354,26 @@ + + + + + + + - - - + + + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/HighContrast/ToggleButton.axaml b/src/Semi.Avalonia/Themes/HighContrast/ToggleButton.axaml index d4c78bf..177a891 100644 --- a/src/Semi.Avalonia/Themes/HighContrast/ToggleButton.axaml +++ b/src/Semi.Avalonia/Themes/HighContrast/ToggleButton.axaml @@ -1,30 +1,3 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml b/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml index 07ce7e9..3b747bc 100644 --- a/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml +++ b/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml @@ -1,75 +1,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file