From 58e7d8f2a39834878f914259084ce3ae64fde0d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Saliba?= Date: Tue, 3 Jan 2023 07:16:21 +0100 Subject: [PATCH] Fixed #147 (also impacting #141). Also improved the themes selection visual feedback, and removed useless style (corner radius) on all textboxes. --- Common/App.config | 2 +- Common/Config/Settings.Designer.cs | 2 +- Common/Config/Settings.settings | 2 +- Common/UI/Theme.xaml | 2 -- Common/UI/Themes/ThemeHelper.cs | 16 ++++++---- Console/App.xaml | 5 +--- Console/App.xaml.cs | 4 ++- Console/UI/Pages/Status.xaml | 2 +- Console/UI/Windows/Options.xaml | 48 ++++++++++++++++++------------ Console/UI/Windows/Options.xaml.cs | 5 ++++ 10 files changed, 52 insertions(+), 36 deletions(-) diff --git a/Common/App.config b/Common/App.config index b7bab7f..681ffbc 100644 --- a/Common/App.config +++ b/Common/App.config @@ -80,7 +80,7 @@ True - + Automatic diff --git a/Common/Config/Settings.Designer.cs b/Common/Config/Settings.Designer.cs index e9b4df9..904af0e 100644 --- a/Common/Config/Settings.Designer.cs +++ b/Common/Config/Settings.Designer.cs @@ -356,7 +356,7 @@ public bool ShowConnections { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("")] + [global::System.Configuration.DefaultSettingValueAttribute("Automatic")] public string Theme { get { return ((string)(this["Theme"])); diff --git a/Common/Config/Settings.settings b/Common/Config/Settings.settings index dace1c6..f3995d4 100644 --- a/Common/Config/Settings.settings +++ b/Common/Config/Settings.settings @@ -87,7 +87,7 @@ True - + Automatic \ No newline at end of file diff --git a/Common/UI/Theme.xaml b/Common/UI/Theme.xaml index 3ba8c8c..1553582 100644 --- a/Common/UI/Theme.xaml +++ b/Common/UI/Theme.xaml @@ -2,8 +2,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ext="clr-namespace:Wokhan.UI.Xaml.Extensibility;assembly=Wokhan.UI"> - - - - @@ -90,10 +100,10 @@ - - - - + + + +