Added resizing

Server Settings - have added resizing to all the grids, so the height can be increased/decreased. The height is also remembered, so when you reopen, it will size the grid correctly.
This commit is contained in:
Brett Hewitson 2021-11-26 09:58:00 +10:00
parent 75c7cd2d40
commit ff4129d5ad
6 changed files with 61 additions and 16 deletions

View file

@ -1932,5 +1932,29 @@ namespace ServerManagerTool {
this["MainWindow_WindowState"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("100")]
public global::System.Windows.GridLength MOTDHeight {
get {
return ((global::System.Windows.GridLength)(this["MOTDHeight"]));
}
set {
this["MOTDHeight"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("250")]
public global::System.Windows.GridLength ServerFilesGridHeight {
get {
return ((global::System.Windows.GridLength)(this["ServerFilesGridHeight"]));
}
set {
this["ServerFilesGridHeight"] = value;
}
}
}
}