From f9b474aacf4b3265bdbfdf8d75915e7ba19cd231 Mon Sep 17 00:00:00 2001 From: Miepee Date: Tue, 27 Sep 2022 12:29:48 +0200 Subject: [PATCH] Make resizing nicer --- AM2RPortHelperGUI/AM2RPortHelperGUI/MainForm.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AM2RPortHelperGUI/AM2RPortHelperGUI/MainForm.cs b/AM2RPortHelperGUI/AM2RPortHelperGUI/MainForm.cs index 9ce7868..978bc7d 100644 --- a/AM2RPortHelperGUI/AM2RPortHelperGUI/MainForm.cs +++ b/AM2RPortHelperGUI/AM2RPortHelperGUI/MainForm.cs @@ -24,9 +24,10 @@ public partial class MainForm : Form filePicker, labelProgress); mainLayout.EndVertical(); + mainLayout.AddSpace(); mainLayout.BeginCentered(); mainLayout.AddRow(new Label { Height = 15 }); - mainLayout.AddRow(null, labelOSHeader, null); + mainLayout.AddRow(labelOSHeader); mainLayout.EndCentered(); mainLayout.BeginCentered(); mainLayout.AddRow(checkboxLinux, checkboxAndroid, checkboxMac); @@ -34,16 +35,15 @@ public partial class MainForm : Form mainLayout.EndCentered(); mainLayout.BeginCentered(); mainLayout.AddRow(new Label { Height = 15 }); - mainLayout.AddRow(null, labelOptionsHeader, null); + mainLayout.AddRow(labelOptionsHeader); mainLayout.EndCentered(); mainLayout.BeginCentered(); mainLayout.AddRow(checkboxAndroidRequiresInternet); - mainLayout.AddSpace(); mainLayout.EndCentered(); mainLayout.BeginCentered(); mainLayout.AddRow(labelModName, new Label { Width = 15 }, textboxModName); - mainLayout.AddSpace(); mainLayout.EndCentered(); + mainLayout.AddSpace(); mainLayout.BeginVertical(); mainLayout.AddRange(new Label { Height = 10 }, buttonPort, null); mainLayout.EndVertical();