From fa4739821f3c5b664c2b32d93a85a7dc067018be Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 12 Nov 2022 00:40:36 +0900 Subject: [PATCH 1/5] Fix Colors / Click Areas / Changed Checkboxes to ToggleSwitch / Adjust Layout --- .../Resources/CustomControlTemplate.xaml | 117 +++++++--- Flow.Launcher/SettingWindow.xaml | 214 ++++++++++-------- 2 files changed, 205 insertions(+), 126 deletions(-) diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml index 6ab7ab5ad68..6e82940313a 100644 --- a/Flow.Launcher/Resources/CustomControlTemplate.xaml +++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml @@ -2044,31 +2044,43 @@ - + - - + + + + + + + @@ -2077,12 +2089,12 @@ - + - + @@ -2110,7 +2122,7 @@ x:Name="HeaderSite" MinWidth="0" MinHeight="0" - Margin="18,0,0,0" + Margin="18,0,18,0" Padding="{TemplateBinding Padding}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" @@ -2127,19 +2139,62 @@ Foreground="{TemplateBinding Foreground}" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Style="{StaticResource ExpanderDownHeaderStyle}" /> - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 950694db5c6..aabe9c220d4 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -48,10 +48,9 @@ - + - + @@ -135,6 +134,7 @@ BasedOn="{StaticResource DefaultToggleSwitch}" TargetType="{x:Type ui:ToggleSwitch}"> + @@ -267,7 +267,9 @@ + + + + - + - + IsOn="{Binding Settings.ShowOpenResultHotkey}" + Style="{DynamicResource SideToggleSwitch}" /> @@ -2590,7 +2611,10 @@ VerticalAlignment="Center" Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource enableProxy}" /> - + Date: Sat, 12 Nov 2022 02:17:33 +0900 Subject: [PATCH 2/5] Fix PluginStoreItem Color (Darkmode) --- Flow.Launcher/SettingWindow.xaml | 50 +++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index aabe9c220d4..e50d5be3c2f 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -94,7 +94,6 @@ - - - +