From 7974a9f43bffef706d07975045cb6bb927eeb168 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Mon, 29 Nov 2021 12:59:38 +0100 Subject: [PATCH] [Settings] Various bugfixes (#14611) * Set maxwidth * Correct shortcut * Update GeneralPage.xaml --- .../Controls/Setting/Setting.xaml | 2 +- .../OOBE/Views/OobeShortcutGuide.xaml | 1 - .../OOBE/Views/OobeShortcutGuide.xaml.cs | 11 ++++++++++- .../Strings/en-us/Resources.resw | 4 ++-- .../Views/GeneralPage.xaml | 8 +++++++- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.xaml index 6cf6e60b8e..17b61e8a6f 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Controls/Setting/Setting.xaml @@ -52,7 +52,7 @@ HorizontalAlignment="Center" FontSize="20" Margin="2,0,18,0" - MaxWidth="26" + MaxWidth="20" AutomationProperties.AccessibilityView="Raw" FontFamily="{ThemeResource SymbolThemeFontFamily}" Foreground="{ThemeResource CardPrimaryForegroundBrush}" diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShortcutGuide.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShortcutGuide.xaml index ff90e31d1e..4e57891f0c 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShortcutGuide.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/OOBE/Views/OobeShortcutGuide.xaml @@ -18,7 +18,6 @@ Style="{ThemeResource OobeSubtitleStyle}" /> -