From 305a04ce691b269a902768ada2e71a2b029d6bcf Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Wed, 9 Sep 2020 00:28:57 +0200 Subject: [PATCH] [Settings] NumberBox headers fixes (#6227) * Update from master * Updated Numberbox headers --- .../Microsoft.PowerToys.Settings.UI.csproj | 2 +- .../Strings/en-us/Resources.resw | 10 +++++----- .../Styles/_Thickness.xaml | 3 --- .../Views/ImageResizerPage.xaml | 10 +++------- .../Views/PowerLauncherPage.xaml | 13 ++++--------- .../Views/PowerRenamePage.xaml | 13 ++++--------- .../Views/ShortcutGuidePage.xaml | 15 +++++---------- 7 files changed, 22 insertions(+), 44 deletions(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj b/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj index 051bec93f9..0a21b8763f 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj +++ b/src/core/Microsoft.PowerToys.Settings.UI/Microsoft.PowerToys.Settings.UI.csproj @@ -185,7 +185,7 @@ 6.1.1 - 2.5.0-prerelease.200708003 + 2.5.0-prerelease.200812001 2.0.1 diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw index de6385c1de..1598e7ec2c 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw +++ b/src/core/Microsoft.PowerToys.Settings.UI/Strings/en-us/Resources.resw @@ -269,7 +269,7 @@ Executable name - + Maximum number of results @@ -367,7 +367,7 @@ Move newly created windows to their last known zone - Move newly created windows to the current active monitor [EXPERIMENTAL] + Move newly created windows to the current active monitor (EXPERIMENTAL) Follow mouse cursor instead of focus when launching editor in a multi screen environment @@ -441,7 +441,7 @@ Appear only in extended context menu (Shift + Right-click) - + Maximum number of items @@ -477,7 +477,7 @@ Shows a help overlay with Windows shortcuts when the Windows key is pressed. - + Press duration before showing (ms) @@ -537,7 +537,7 @@ Save sizes - + JPEG quality level diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Styles/_Thickness.xaml b/src/core/Microsoft.PowerToys.Settings.UI/Styles/_Thickness.xaml index a5c97ecdec..05a28978f4 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Styles/_Thickness.xaml +++ b/src/core/Microsoft.PowerToys.Settings.UI/Styles/_Thickness.xaml @@ -32,7 +32,4 @@ 0, 4, 0, 0 0, 4, 4, 4 - - - 0, 4, 0, 0 \ No newline at end of file diff --git a/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml b/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml index b4662ae7dc..16f1ae11e4 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml +++ b/src/core/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml @@ -207,16 +207,12 @@ - - - --> - - - + Margin="{StaticResource SmallTopMargin}" + IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"/> - - - + IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.GlobalAndMruEnabled}"/> - - - + LargeChange="100"/>