fixed rest of info items

This commit is contained in:
Clint Rutkas
2019-12-12 15:00:24 -08:00
parent 63cb5ab883
commit 360a22c537
10 changed files with 66 additions and 65 deletions

View File

@@ -19,9 +19,12 @@ namespace FancyZonesEditor
{
// TODO: share the constants b/w C# Editor and FancyZoneLib
public const int MaxZones = 40;
private static string _defaultNamePrefix = "Custom Layout ";
private readonly Settings _settings = ((App)Application.Current).ZoneSettings;
private static readonly string _defaultNamePrefix = "Custom Layout ";
private bool _editing = false;
public int WrapPanelItemSize { get; set; } = 262;
public MainWindow()
{
InitializeComponent();
@@ -33,7 +36,7 @@ namespace FancyZonesEditor
}
}
public int WrapPanelItemSize { get; set; } = 262;
private void DecrementZones_Click(object sender, RoutedEventArgs e)
{
@@ -51,8 +54,6 @@ namespace FancyZonesEditor
}
}
private Settings _settings = ((App)Application.Current).ZoneSettings;
private void NewCustomLayoutButton_Click(object sender, RoutedEventArgs e)
{
WindowLayout window = new WindowLayout();