|
107 | 107 | <x:Double x:Key="SettingsCardLeftIndention">0</x:Double> |
108 | 108 | <x:Double x:Key="SettingsCardContentMinWidth">120</x:Double> |
109 | 109 | <Thickness x:Key="SettingsCardHeaderIconMargin">2,0,20,0</Thickness> |
110 | | - <Thickness x:Key="SettingsCardVerticalHeaderContentSpacing">0,4,0,0</Thickness> |
111 | | - <x:Double x:Key="SettingsCardWrapThreshold">460</x:Double> |
| 110 | + <Thickness x:Key="SettingsCardVerticalHeaderContentSpacing">0,8,0,0</Thickness> |
| 111 | + <x:Double x:Key="SettingsCardWrapThreshold">476</x:Double> |
112 | 112 | <x:Double x:Key="SettingsCardWrapNoIconThreshold">286</x:Double> |
113 | 113 |
|
114 | 114 | <Style BasedOn="{StaticResource DefaultSettingsCardStyle}" |
|
459 | 459 | <Setter Property="Template"> |
460 | 460 | <Setter.Value> |
461 | 461 | <ControlTemplate TargetType="ToggleSwitch"> |
462 | | - <Grid VerticalAlignment="Center" |
| 462 | + <Grid VerticalAlignment="Stretch" |
463 | 463 | Background="{TemplateBinding Background}" |
464 | 464 | BorderBrush="{TemplateBinding BorderBrush}" |
465 | 465 | BorderThickness="{TemplateBinding BorderThickness}" |
466 | 466 | CornerRadius="{TemplateBinding CornerRadius}"> |
467 | | - <Grid.RowDefinitions> |
468 | | - <RowDefinition Height="Auto" /> |
469 | | - <RowDefinition Height="*" /> |
470 | | - </Grid.RowDefinitions> |
471 | 467 | <VisualStateManager.VisualStateGroups> |
472 | 468 | <VisualStateGroup x:Name="CommonStates"> |
473 | 469 | <VisualState x:Name="Normal"> |
|
956 | 952 | Visibility="Collapsed" /> |
957 | 953 | <Grid Grid.Row="1" |
958 | 954 | HorizontalAlignment="Right" |
959 | | - VerticalAlignment="Top"> |
960 | | - <Grid.RowDefinitions> |
961 | | - <RowDefinition Height="{ThemeResource ToggleSwitchPreContentMargin}" /> |
962 | | - <RowDefinition Height="Auto" /> |
963 | | - <RowDefinition Height="{ThemeResource ToggleSwitchPostContentMargin}" /> |
964 | | - </Grid.RowDefinitions> |
| 955 | + VerticalAlignment="Center"> |
965 | 956 | <Grid.ColumnDefinitions> |
966 | 957 | <ColumnDefinition Width="Auto" /> |
967 | 958 | <ColumnDefinition Width="12" |
|
0 commit comments