From bb228c73ab61a7b518cef3885fa9978cf30403c1 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 1 Mar 2021 14:56:30 +0100 Subject: [PATCH] [Settings] UI fixes (#9949) * Adding period to warnings * Increased font size to default * Fixes * PowerLauncher display setting fix * Added the correct brush Co-authored-by: Niels Laute --- .../Strings/en-us/Resources.resw | 4 +- .../Views/PowerLauncherPage.xaml | 37 ++++++++++--------- .../Views/PowerPreviewPage.xaml | 3 -- .../Views/ShortcutGuidePage.xaml | 3 +- 4 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index 8339b2de8e..ec39763343 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -711,7 +711,7 @@ Administrator mode - You need to run as administrator to use this setting + You need to run as administrator to use this setting. Only shortcuts with the following hotkeys are valid: @@ -783,7 +783,7 @@ Preview Pane - You need to run as administrator to modify these settings + You need to run as administrator to modify these settings. The settings on this page affect all users on the system diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerLauncherPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerLauncherPage.xaml index 810a0a1cbf..72a99ee7d2 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerLauncherPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerLauncherPage.xaml @@ -170,7 +170,8 @@ - + @@ -180,12 +181,11 @@ Foreground="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/> + Padding="0,12,12,12"> @@ -235,25 +235,23 @@ Height="36" /> + Grid.Column="1" Margin="0,0,16,0"> - @@ -266,24 +264,28 @@ Grid.Column="2" /> - - - + Opacity="{x:Bind DisabledOpacity}" /> + + IsEnabled="{x:Bind Enabled, Mode=OneWay}" /> + + + + - diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml index ff65ed85cf..44f592e57e 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/PowerPreviewPage.xaml @@ -62,7 +62,6 @@ diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ShortcutGuidePage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ShortcutGuidePage.xaml index 17c7d182da..3e57e2164d 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ShortcutGuidePage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ShortcutGuidePage.xaml @@ -107,7 +107,8 @@ - +