From 1f0c0022ac45e1e9005c54d4815dbcfa0288df9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=98=E9=9F=AC=20=E5=BC=A0?= Date: Mon, 29 Mar 2021 14:24:20 +0800 Subject: [PATCH 1/5] Increase the default width and allow user to resize setting window, and reduce the margin for PluginDirectory modified: Flow.Launcher/SettingWindow.xaml modified: Flow.Launcher/SettingWindow.xaml --- Flow.Launcher/SettingWindow.xaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index cb0ef2def..9f811e322 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -13,9 +13,9 @@ mc:Ignorable="d" Icon="Images\app.ico" Title="{DynamicResource flowlauncher_settings}" - ResizeMode="NoResize" + ResizeMode="CanResizeWithGrip" WindowStartupLocation="CenterScreen" - Height="600" Width="800" + Height="600" Width="850" Closed="OnClosed" d:DataContext="{d:DesignInstance vm:SettingWindowViewModel}"> @@ -191,7 +191,7 @@ From db6e53f2a75fd7d4bd304a3600c99a2253e8ff33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=98=E9=9F=AC=20=E5=BC=A0?= Date: Tue, 30 Mar 2021 15:34:19 +0800 Subject: [PATCH 2/5] span the third row with two columes, and set a minWidth for resizing --- Flow.Launcher/SettingWindow.xaml | 105 +++++++++++++++---------------- 1 file changed, 52 insertions(+), 53 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 9f811e322..33d88fc42 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -15,7 +15,8 @@ Title="{DynamicResource flowlauncher_settings}" ResizeMode="CanResizeWithGrip" WindowStartupLocation="CenterScreen" - Height="600" Width="850" + Height="600" Width="900" + MinWidth="850" Closed="OnClosed" d:DataContext="{d:DesignInstance vm:SettingWindowViewModel}"> @@ -141,60 +142,58 @@ + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Width="48" Height="48" + HorizontalAlignment="Left" VerticalAlignment="Top" + Grid.RowSpan="2"/> + + + + + + + + + + + + + + + + + + + + + + + From 953b50d1f2e648168f4ceb71feae25a66b24da31 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 31 Mar 2021 06:21:18 +1100 Subject: [PATCH 3/5] add min height to settings page resize --- Flow.Launcher/SettingWindow.xaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 99061e353..23b741575 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -17,6 +17,7 @@ WindowStartupLocation="CenterScreen" Height="600" Width="900" MinWidth="850" + MinHeight="500" Closed="OnClosed" d:DataContext="{d:DesignInstance vm:SettingWindowViewModel}"> From 3ab3010000d9e49da58296e7d66a654ab75a9d20 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 31 Mar 2021 06:28:25 +1100 Subject: [PATCH 4/5] fix Sys plugin translation --- Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml | 2 ++ Plugins/Flow.Launcher.Plugin.Sys/Main.cs | 4 ++-- Plugins/Flow.Launcher.Plugin.Sys/plugin.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml index ec05b621d..4f841c07f 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml @@ -18,6 +18,8 @@ Hibernate computer Save all Flow Launcher settings Refreshes plugin data with new content + Open Flow Launcher's log location + Check for new Flow Launcher update Success diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs index 8828f3cef..380782650 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs @@ -261,7 +261,7 @@ namespace Flow.Launcher.Plugin.Sys new Result { Title = "Check For Update", - SubTitle = "Check for new Flow Launcher update", + SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_check_for_update"), IcoPath = "Images\\checkupdate.png", Action = c => { @@ -273,7 +273,7 @@ namespace Flow.Launcher.Plugin.Sys new Result { Title = "Open Log Location", - SubTitle = "Open Log Position", + SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_open_log_location"), IcoPath = "Images\\app.png", Action = c => { diff --git a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json index 844bcfb53..61dbd73f3 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json @@ -4,7 +4,7 @@ "Name": "System Commands", "Description": "Provide System related commands. e.g. shutdown,lock,setting etc.", "Author": "qianlifeng", - "Version": "1.2.2", + "Version": "1.2.3", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Sys.dll", From eae3b1e4bf96fe8278d88c04d77db60b4935239c Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 31 Mar 2021 06:40:39 +1100 Subject: [PATCH 5/5] update plugin text --- Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Shell/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Sys/plugin.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json b/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json index 2bb40c644..7c6efaae4 100644 --- a/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json @@ -2,7 +2,7 @@ "ID":"b64d0a79-329a-48b0-b53f-d658318a1bf6", "ActionKeyword":"kill", "Name":"Process Killer", - "Description":"kill running processes from Flow", + "Description":"Kill running processes from Flow", "Author":"Flow-Launcher", "Version":"1.2.2", "Language":"csharp", diff --git a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json index b38db70ed..592dbdbbd 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json @@ -2,7 +2,7 @@ "ID": "D409510CD0D2481F853690A07E6DC426", "ActionKeyword": ">", "Name": "Shell", - "Description": "Provide executing commands from Flow Launcher. Commands should start with >", + "Description": "Provide executing commands from Flow Launcher", "Author": "qianlifeng", "Version": "1.2.0", "Language": "csharp", diff --git a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json index 61dbd73f3..40cab074e 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json @@ -2,7 +2,7 @@ "ID": "CEA08895D2544B019B2E9C5009600DF4", "ActionKeyword": "*", "Name": "System Commands", - "Description": "Provide System related commands. e.g. shutdown,lock,setting etc.", + "Description": "Provide System related commands. e.g. shutdown,lock, setting etc.", "Author": "qianlifeng", "Version": "1.2.3", "Language": "csharp",