Browse Source

Little Fix

pull/4069/head
JamRemco 6 years ago
parent
commit
0f8f459b32
  1. 6
      src/Avalonia.Themes.Fluent/ToggleSwitch.xaml

6
src/Avalonia.Themes.Fluent/ToggleSwitch.xaml

@ -100,14 +100,14 @@
<Border x:Name="OuterBorder" <Border x:Name="OuterBorder"
Grid.Row="1" Grid.Row="1"
Height="20" Height="20"
Width="40" Width="42"
CornerRadius="10" CornerRadius="10"
BorderThickness="{DynamicResource ToggleSwitchOuterBorderStrokeThickness}" /> BorderThickness="{DynamicResource ToggleSwitchOuterBorderStrokeThickness}" />
<Border x:Name="SwitchKnobBounds" <Border x:Name="SwitchKnobBounds"
Grid.Row="1" Grid.Row="1"
Height="20" Height="20"
Width="40" Width="42"
CornerRadius="10" CornerRadius="10"
BorderThickness="{DynamicResource ToggleSwitchOnStrokeThickness}"/> BorderThickness="{DynamicResource ToggleSwitchOnStrokeThickness}"/>
@ -335,7 +335,7 @@
<x:Double x:Key="ToggleSwitchPreContentMargin">6</x:Double> <x:Double x:Key="ToggleSwitchPreContentMargin">6</x:Double>
<x:Double x:Key="ToggleSwitchPostContentMargin">6</x:Double> <x:Double x:Key="ToggleSwitchPostContentMargin">6</x:Double>
<x:Double x:Key="ToggleSwitchThemeMinWidth">154</x:Double> <x:Double x:Key="ToggleSwitchThemeMinWidth">154</x:Double>
<x:Double x:Key="KnobOnPosition">20</x:Double> <x:Double x:Key="KnobOnPosition">22</x:Double>
<x:Double x:Key="KnobOffPosition">0</x:Double> <x:Double x:Key="KnobOffPosition">0</x:Double>
</Styles.Resources> </Styles.Resources>

Loading…
Cancel
Save