Skip to content

Commit eb5b20a

Browse files
committed
Fix DefaultToggleSwitch resources
1 parent 7c24d97 commit eb5b20a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Flow.Launcher/Resources/CustomControlTemplate.xaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,19 @@
575575
</Style>
576576

577577
<!-- Custom Toggle Switch from UI.WPF.Modern for left label -->
578+
<Thickness x:Key="ToggleSwitchTopHeaderMargin">0,0,0,4</Thickness>
579+
<system:Double x:Key="ToggleSwitchPreContentMargin">10</system:Double>
580+
<system:Double x:Key="ToggleSwitchPostContentMargin">10</system:Double>
581+
582+
<system:Double x:Key="ToggleSwitchLabelGap">12</system:Double>
583+
<GridLength x:Key="ToggleSwitchLabelGapGL">12</GridLength>
584+
585+
<system:Double x:Key="ToggleSwitchThemeMinWidth">154</system:Double>
586+
587+
<system:TimeSpan x:Key="RepositionDelay">0:0:0.033</system:TimeSpan>
588+
<KeyTime x:Key="RepositionDuration">0:0:0.367</KeyTime>
589+
<KeySpline x:Key="RepositionKeySpline">0.1,0.9 0.2,1.0</KeySpline>
590+
578591
<Style x:Key="DefaultToggleSwitch" TargetType="ui:ToggleSwitch">
579592
<Setter Property="Foreground" Value="{DynamicResource ToggleSwitchContentForeground}" />
580593
<!-- Change HorizontalAlignment from Left to Center -->

0 commit comments

Comments
 (0)