From 02036f13a401cb87628aa2f3229de57312d28f29 Mon Sep 17 00:00:00 2001 From: DB p Date: Wed, 20 Oct 2021 23:58:34 +0900 Subject: [PATCH] add width slider --- .../UserSettings/Settings.cs | 11 +++++++++- Flow.Launcher/SettingWindow.xaml | 20 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index 907314ba8..b9afa819a 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -10,10 +10,19 @@ namespace Flow.Launcher.Infrastructure.UserSettings public class Settings : BaseModel { private string language = "en"; - + private int windowsize = 580; public string Hotkey { get; set; } = $"{KeyConstant.Alt} + {KeyConstant.Space}"; public string OpenResultModifiers { get; set; } = KeyConstant.Alt; public bool ShowOpenResultHotkey { get; set; } = true; + public int WindowSize + { + get => windowsize; set + { + windowsize = value; + OnPropertyChanged(); + } + } + public string Language { get => language; set diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 7dc8829be..8873d8aae 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -674,6 +674,24 @@ + + + + + + + + + + + +  + + + + + @@ -753,6 +771,7 @@ + @@ -765,6 +784,7 @@ +