diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasEditorWindow.xaml b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasEditorWindow.xaml index 805d8efbf0..dce173bbf4 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasEditorWindow.xaml +++ b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasEditorWindow.xaml @@ -8,7 +8,6 @@ xmlns:props="clr-namespace:FancyZonesEditor.Properties" xmlns:ui="http://schemas.modernwpf.com/2019" Title="" - Height="196" MinWidth="360" ui:TitleBar.IsIconVisible="False" ui:WindowHelper.UseModernWindowStyle="True" @@ -18,10 +17,10 @@ Closed="OnClosed" ContentRendered="EditorWindow_ContentRendered" ResizeMode="NoResize" - SizeToContent="Width" + SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" mc:Ignorable="d"> - + - + - + + + + + + + + diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/GridEditorWindow.xaml b/src/modules/fancyzones/editor/FancyZonesEditor/GridEditorWindow.xaml index c49d7e5118..59e7f2cbcd 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/GridEditorWindow.xaml +++ b/src/modules/fancyzones/editor/FancyZonesEditor/GridEditorWindow.xaml @@ -38,23 +38,28 @@ - - - + + + - - + + - - + + diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.Designer.cs b/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.Designer.cs index 21dd44a195..e2dc820a17 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.Designer.cs +++ b/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.Designer.cs @@ -1,4 +1,4 @@ -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.42000 @@ -19,7 +19,7 @@ namespace FancyZonesEditor.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] public class Resources { @@ -266,47 +266,7 @@ namespace FancyZonesEditor.Properties { return ResourceManager.GetString("Delete_Layout_Dialog_Announce", resourceCulture); } } - - /// - /// Looks up a localized string for representing the names of a single zone. - /// - public static string Zone_Name { - get - { - return ResourceManager.GetString("Zone_Name", resourceCulture); - } - } - - /// - /// Looks up a localized string for representing the name of the width dimension. - /// - public static string Width_Name { - get - { - return ResourceManager.GetString("Width_Name", resourceCulture); - } - } - - /// - /// Looks up a localized string for representing the name of the height dimension. - /// - public static string Height_Name { - get - { - return ResourceManager.GetString("Height_Name", resourceCulture); - } - } - - /// - /// Looks up a localized string for explaining how to use the thumbs to resize zone. - /// - public static string Resizer_Thumb_Announce { - get - { - return ResourceManager.GetString("Resizer_Thumb_Announce", resourceCulture); - } - } - + /// /// Looks up a localized string similar to Delete zone. /// @@ -568,13 +528,22 @@ namespace FancyZonesEditor.Properties { } } + /// + /// Looks up a localized string similar to Height. + /// + public static string Height_Name { + get { + return ResourceManager.GetString("Height_Name", resourceCulture); + } + } + /// /// Looks up a localized string similar to - /// - [Shift]+S to split currently focused zone. - /// - Ctrl+Tab to focus zones/resizers. - /// - Tab to cycle zones and resizers. - /// - Delete to remove the focused resizer. - /// - Arrows to move the focused resizer.. + ///• [Shift]+S to split currently focused zone. + ///• Ctrl+Tab to focus zones/resizers. + ///• Tab to cycle zones and resizers. + ///• Delete to remove the focused resizer. + ///• Arrows to move the focused resizer.. /// public static string KeyboardControlsDescription { get { @@ -583,7 +552,21 @@ namespace FancyZonesEditor.Properties { } /// - /// Looks up a localized string similar to Keyboard Navigation:. + /// Looks up a localized string similar to + ///• Ctrl+Tab to switch focus between dialog and zones. + ///• [Shift]+Arrows to resize the focused zone by 10px (5px per edge). + ///• Ctrl+[Shift]+Arrows to resize the focused zone by 2px (1px per edge). + ///• Arrows to move the focused zone by 10px. + ///• Ctrl+Arrows to move the focused zone by 1px.. + /// + public static string KeyboardControlsDescriptionCanvas { + get { + return ResourceManager.GetString("KeyboardControlsDescriptionCanvas", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Keyboard navigation:. /// public static string KeyboardControlsName { get { @@ -771,15 +754,6 @@ namespace FancyZonesEditor.Properties { } } - /// - /// Looks up a localized string similar to Range is from {0} to {1}. - /// - public static string Ranged_Input_Tooltip { - get { - return ResourceManager.GetString("Ranged_Input_Tooltip", resourceCulture); - } - } - /// /// Looks up a localized string similar to Reset layout. /// @@ -789,6 +763,15 @@ namespace FancyZonesEditor.Properties { } } + /// + /// Looks up a localized string similar to Use the arrow keys to resize, delete key to remove.. + /// + public static string Resizer_Thumb_Announce { + get { + return ResourceManager.GetString("Resizer_Thumb_Announce", resourceCulture); + } + } + /// /// Looks up a localized string similar to Save. /// @@ -942,6 +925,15 @@ namespace FancyZonesEditor.Properties { } } + /// + /// Looks up a localized string similar to Width. + /// + public static string Width_Name { + get { + return ResourceManager.GetString("Width_Name", resourceCulture); + } + } + /// /// Looks up a localized string similar to Decrement number of zones. /// @@ -960,6 +952,15 @@ namespace FancyZonesEditor.Properties { } } + /// + /// Looks up a localized string similar to Zone. + /// + public static string Zone_Name { + get { + return ResourceManager.GetString("Zone_Name", resourceCulture); + } + } + /// /// Looks up a localized string similar to zones. /// diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx b/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx index 265866eba0..f1b80215b9 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx +++ b/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx @@ -353,15 +353,23 @@ Title for concept behind Merging two zones together or removing an zone - Keyboard Navigation: + Keyboard navigation: - - [Shift]+S to split currently focused zone. - - Ctrl+Tab to focus zones/resizers. - - Tab to cycle zones and resizers. - - Delete to remove the focused resizer. - - Arrows to move the focused resizer. +• Shift+S to split currently focused zone. +• Ctrl+Tab to focus zones/resizers. +• Tab to cycle zones and resizers. +• Delete to remove the focused resizer. +• Arrows to move the focused resizer. + + + +• Ctrl+Tab to switch focus between dialog and zones. +• Shift+Arrows to resize the focused zone by 10px (5px per edge). +• Ctrl+Shift+Arrows to resize the focused zone by 2px (1px per edge). +• Arrows to move the focused zone by 10px. +• Ctrl+Arrows to move the focused zone by 1px. Hold Shift key for vertical split.