From 525c30b9cd53438b27718216833b96517ef914a9 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Fri, 12 Nov 2021 13:11:01 +1000 Subject: [PATCH] Added config for grid heights --- src/ARKServerManager/App.config | 3 ++ src/ARKServerManager/Config.Designer.cs | 48 +++++++++++++++++++ src/ARKServerManager/Config.settings | 12 +++++ .../Windows/ServerSettingsControl.xaml | 8 ++-- 4 files changed, 67 insertions(+), 4 deletions(-) diff --git a/src/ARKServerManager/App.config b/src/ARKServerManager/App.config index 3949b2f5..8e2caea3 100644 --- a/src/ARKServerManager/App.config +++ b/src/ARKServerManager/App.config @@ -744,6 +744,9 @@ 400 + + 200 + diff --git a/src/ARKServerManager/Config.Designer.cs b/src/ARKServerManager/Config.Designer.cs index bc3c9ed1..de7af109 100644 --- a/src/ARKServerManager/Config.Designer.cs +++ b/src/ARKServerManager/Config.Designer.cs @@ -2575,5 +2575,53 @@ namespace ServerManagerTool { this["PreventTransferOverrideGridHeight"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("200")] + public global::System.Windows.GridLength SupplyCratesGridHeight { + get { + return ((global::System.Windows.GridLength)(this["SupplyCratesGridHeight"])); + } + set { + this["SupplyCratesGridHeight"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("200")] + public global::System.Windows.GridLength SupplyCrateItemSetsGridHeight { + get { + return ((global::System.Windows.GridLength)(this["SupplyCrateItemSetsGridHeight"])); + } + set { + this["SupplyCrateItemSetsGridHeight"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("200")] + public global::System.Windows.GridLength SupplyCrateItemSetEntriesGridHeight { + get { + return ((global::System.Windows.GridLength)(this["SupplyCrateItemSetEntriesGridHeight"])); + } + set { + this["SupplyCrateItemSetEntriesGridHeight"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("200")] + public global::System.Windows.GridLength SupplyCrateItemsGridHeight { + get { + return ((global::System.Windows.GridLength)(this["SupplyCrateItemsGridHeight"])); + } + set { + this["SupplyCrateItemsGridHeight"] = value; + } + } } } diff --git a/src/ARKServerManager/Config.settings b/src/ARKServerManager/Config.settings index 222e7329..dfb83897 100644 --- a/src/ARKServerManager/Config.settings +++ b/src/ARKServerManager/Config.settings @@ -719,5 +719,17 @@ 400 + + 200 + + + 200 + + + 200 + + + 200 + \ No newline at end of file diff --git a/src/ARKServerManager/Windows/ServerSettingsControl.xaml b/src/ARKServerManager/Windows/ServerSettingsControl.xaml index ede44022..678cafd5 100644 --- a/src/ARKServerManager/Windows/ServerSettingsControl.xaml +++ b/src/ARKServerManager/Windows/ServerSettingsControl.xaml @@ -5088,13 +5088,13 @@ - + - + - + - +