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 a421e3ac6e..13238715ba 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 @@ -321,10 +321,6 @@ Disabling this module or closing PowerToys will unmute the microphone and camera Change cursor when picking a color - - Activate Color Picker - do not loc product name - A quick launcher that has additional capabilities without sacrificing performance. @@ -916,7 +912,7 @@ Made with 💗 by Microsoft and the PowerToys community. Windows refers to the Operating system - Color format for clipboard + Default color format Color Picker with editor mode enabled @@ -929,11 +925,14 @@ Made with 💗 by Microsoft and the PowerToys community. Editor - + Activation behavior - + Picker behavior + + + This format will be copied to your clipboard Learn more about remapping limitations @@ -970,11 +969,20 @@ Made with 💗 by Microsoft and the PowerToys community. Open directly into the editor mode - - Editor color formats + + Color formats - - Show color name + + Select which color formats (and in what order) should show up in the editor + + + Move up + + + Move down + + + Show color name when color picking Large @@ -998,7 +1006,7 @@ Made with 💗 by Microsoft and the PowerToys community. Win + Left/Right to move windows based on zone index - + Editor @@ -1081,7 +1089,7 @@ Made with 💗 by Microsoft and the PowerToys community. Quick layout switch - + Activation shortcut diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml index 3c72cfef2b..e00ff2c8e1 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/AwakePage.xaml @@ -33,7 +33,7 @@ - + diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml index 5b30875a12..c86cee2b12 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml @@ -5,8 +5,10 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls" + xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:Interactivity="using:Microsoft.Xaml.Interactivity" xmlns:Core="using:Microsoft.Xaml.Interactions.Core" + xmlns:toolkitcontrols="using:Microsoft.Toolkit.Uwp.UI.Controls" mc:Ignorable="d" AutomationProperties.LandmarkType="Main"> @@ -16,118 +18,127 @@ - + x:Name="ColorPickerView"> - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + - - + - - - - - - - - - - + + + + + + + diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs index 9ef3a0f604..4dcd8a173a 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ColorPickerPage.xaml.cs @@ -50,7 +50,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views private void ReorderButtonUp_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) { - ColorFormatModel color = ((Button)sender).DataContext as ColorFormatModel; + ColorFormatModel color = ((MenuFlyoutItem)sender).DataContext as ColorFormatModel; if (color == null) { return; @@ -65,7 +65,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views private void ReorderButtonDown_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) { - ColorFormatModel color = ((Button)sender).DataContext as ColorFormatModel; + ColorFormatModel color = ((MenuFlyoutItem)sender).DataContext as ColorFormatModel; if (color == null) { return; diff --git a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml index ea1e388879..532ae4da1a 100644 --- a/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml +++ b/src/settings-ui/Microsoft.PowerToys.Settings.UI/Views/ImageResizerPage.xaml @@ -34,28 +34,26 @@ - +