diff --git a/demo/Semi.Avalonia.Demo/Pages/ToggleSwitchDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ToggleSwitchDemo.axaml index 1a23866..ed66fc1 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ToggleSwitchDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ToggleSwitchDemo.axaml @@ -8,22 +8,23 @@ d:DesignWidth="800" mc:Ignorable="d"> - - - + + + + + + + + + + + + + + + + + @@ -44,8 +45,8 @@ - - + + @@ -60,21 +61,35 @@ - - - - - - - - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/demo/Semi.Avalonia.Demo/Themes/ToggleSwitch.axaml b/demo/Semi.Avalonia.Demo/Themes/ToggleSwitch.axaml index 98e1ce6..f3b0485 100644 --- a/demo/Semi.Avalonia.Demo/Themes/ToggleSwitch.axaml +++ b/demo/Semi.Avalonia.Demo/Themes/ToggleSwitch.axaml @@ -1,15 +1,8 @@ - - - - - + - - - - - @@ -20,48 +13,17 @@ - - - - - - - - - - - + + + + - - - - - - - \ No newline at end of file diff --git a/demo/Semi.Avalonia.Demo/Views/MainView.axaml b/demo/Semi.Avalonia.Demo/Views/MainView.axaml index 116099d..376aee0 100644 --- a/demo/Semi.Avalonia.Demo/Views/MainView.axaml +++ b/demo/Semi.Avalonia.Demo/Views/MainView.axaml @@ -52,14 +52,11 @@ - - - + + + + + + - - - - - + + + + + + + + + + + + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" + CornerRadius="{TemplateBinding CornerRadius}"> + + + + + + + + + - + + + + - + + + + + + + + \ No newline at end of file