From ef9e56d2203c1ef98faecde3682a5c4a82067790 Mon Sep 17 00:00:00 2001 From: Yimeng Wu Date: Thu, 21 Mar 2024 22:14:24 +0000 Subject: [PATCH] Port microsoft/microsoft-ui-xaml#4957 (#669) --- .../ToggleSwitch/ToggleSwitch.xaml | 36 ++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/ModernWpf.Controls/ToggleSwitch/ToggleSwitch.xaml b/ModernWpf.Controls/ToggleSwitch/ToggleSwitch.xaml index 55d17bb0..f441e2f0 100644 --- a/ModernWpf.Controls/ToggleSwitch/ToggleSwitch.xaml +++ b/ModernWpf.Controls/ToggleSwitch/ToggleSwitch.xaml @@ -68,16 +68,16 @@ - + - + - + - + @@ -99,16 +99,16 @@ - + - + - + - + @@ -130,16 +130,16 @@ - + - + - + - + @@ -418,8 +418,8 @@ Height="12" CornerRadius="7" Opacity="0" - HorizontalAlignment="Right" - Margin="0,0,3,0" + HorizontalAlignment="Center" + Margin="0,0,1,0" RenderTransformOrigin="0.5, 0.5" /> @@ -456,6 +456,10 @@ + + + +