diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml
index 1dda680e79..6ad8d6c5c1 100644
--- a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml
+++ b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml
@@ -112,14 +112,18 @@
FontWeight="SemiBold"
FontSize="64"
Foreground="{DynamicResource PrimaryForegroundBrush}" />
-
+
+
+
+
+
diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs
index 65eac6d345..9a453c3b36 100644
--- a/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs
+++ b/src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml.cs
@@ -27,7 +27,8 @@ namespace FancyZonesEditor
private void CanvasZone_SizeChanged(object sender, SizeChangedEventArgs e)
{
- LabelSize.Content = "(" + Width.ToString() + "x" + Height.ToString() + ")";
+ WidthLabel.Text = Width.ToString();
+ HeightLabel.Text = Height.ToString();
}
private CanvasLayoutModel model;
diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml b/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml
index 6ea6124e07..362c94f277 100644
--- a/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml
+++ b/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml
@@ -26,14 +26,18 @@
FontWeight="SemiBold"
FontSize="64"
Foreground="{DynamicResource PrimaryForegroundBrush}" />
-
+
+
+
+
+
diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml.cs b/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml.cs
index 2db4783b4c..97cf91dbb4 100644
--- a/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml.cs
+++ b/src/modules/fancyzones/editor/FancyZonesEditor/GridZone.xaml.cs
@@ -78,7 +78,8 @@ namespace FancyZonesEditor
private void GridZone_SizeChanged(object sender, SizeChangedEventArgs e)
{
- LabelSize.Content = "(" + Math.Round(ActualWidth).ToString() + "x" + Math.Round(ActualHeight).ToString() + ")";
+ WidthLabel.Text = Math.Round(ActualWidth).ToString();
+ HeightLabel.Text = Math.Round(ActualHeight).ToString();
}
private void ZoneSettings_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/MainWindow.xaml b/src/modules/fancyzones/editor/FancyZonesEditor/MainWindow.xaml
index e63e472fd4..737c8fa130 100644
--- a/src/modules/fancyzones/editor/FancyZonesEditor/MainWindow.xaml
+++ b/src/modules/fancyzones/editor/FancyZonesEditor/MainWindow.xaml
@@ -30,11 +30,12 @@
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -414,151 +357,129 @@
Title="{x:Static props:Resources.Edit_Layout}"
Opened="Dialog_Opened"
Closed="Dialog_Closed">
-
-
+
-
-
-
-
-
-
-
+
-
+ ToolTip="{x:Static props:Resources.Duplicate}"
+ Content=""
+ FontFamily="Segoe MDL2 Assets"
+ Style="{StaticResource IconOnlyButtonStyle}"
+ Visibility="{Binding Path=Type, Converter={StaticResource LayoutTypeCustomToVisibilityConverter}}" />
+
+
+
+
-
-
+
+
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
-
+
-
+
- /// Looks up a localized string similar to Edit zones.
+ /// Looks up a localized string similar to Edit zone layout.
///
public static string Edit_zones {
get {
@@ -665,7 +665,7 @@ namespace FancyZonesEditor.Properties {
}
///
- /// Looks up a localized string similar to Decrement number of zones in template layout.
+ /// Looks up a localized string similar to Decrement number of zones.
///
public static string Zone_Count_Decrement {
get {
@@ -674,7 +674,7 @@ namespace FancyZonesEditor.Properties {
}
///
- /// Looks up a localized string similar to Increment number of zones in template layout.
+ /// Looks up a localized string similar to Increment number of zones.
///
public static string Zone_Count_Increment {
get {
diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx b/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx
index bd45e1ca4b..d23737ed78 100644
--- a/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx
+++ b/src/modules/fancyzones/editor/FancyZonesEditor/Properties/Resources.resx
@@ -176,10 +176,10 @@ To merge zones, select the zones and click "merge".
Templates
- Decrement number of zones in template layout
+ Decrement number of zones
- Increment number of zones in template layout
+ Increment number of zones
FancyZones Editor arguments are invalid.
@@ -298,7 +298,7 @@ To merge zones, select the zones and click "merge".
Are you sure you want to delete this layout?
- Edit zones
+ Edit zone layout
Create or duplicate a layout to get started
diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/Styles/ButtonStyles.xaml b/src/modules/fancyzones/editor/FancyZonesEditor/Styles/ButtonStyles.xaml
index a0d8b7e1d4..c6cac96dbc 100644
--- a/src/modules/fancyzones/editor/FancyZonesEditor/Styles/ButtonStyles.xaml
+++ b/src/modules/fancyzones/editor/FancyZonesEditor/Styles/ButtonStyles.xaml
@@ -1,6 +1,7 @@
+
+
\ No newline at end of file