From ac956bccef6bfb34de21fbe3ca3817f0e3f2c238 Mon Sep 17 00:00:00 2001
From: Jack251970 <1160210343@qq.com>
Date: Thu, 27 Feb 2025 20:51:16 +0800
Subject: [PATCH] Redesgin settings panel for program plugin
---
.../Resources/CustomControlTemplate.xaml | 8 +++
.../Views/ProgramSetting.xaml | 68 +++++++------------
2 files changed, 33 insertions(+), 43 deletions(-)
diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml
index 3cd1f5c1c..e57a29320 100644
--- a/Flow.Launcher/Resources/CustomControlTemplate.xaml
+++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml
@@ -5588,10 +5588,18 @@
70,9,18,9
+
9,0,0,0
0,0,9,0
0,9,0,9
9,9,0,9
0,9,9,9
+
+
diff --git a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml
index 973ac9f60..353056ad0 100644
--- a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml
@@ -10,124 +10,108 @@
-
+
-
+
-
-
-
+
+
-
+
@@ -140,12 +124,13 @@
x:Name="progressBarIndexing"
Width="80"
Height="20"
+ Margin="{StaticResource SettingPanelItemRightTopBottomMargin}"
IsIndeterminate="True"
Maximum="100"
Minimum="0" />
@@ -154,7 +139,7 @@
-
+