VOIDCore_Generic: A little prettifying for the main window under some skins, hopefully it always looks good...
VOIDCore_Generic: A little prettifying for the main window under some skins, hopefully it always looks good...

--- a/VOIDCore_Generic.cs
+++ b/VOIDCore_Generic.cs
@@ -393,8 +393,10 @@
 					_mainWindowPos,
 					VOID_Tools.GetWindowHandler(this.VOIDMainWindow),
 					string.Join(" ", new string[] { this.VoidName, this.VoidVersion }),
-					GUILayout.Width(250),
-					GUILayout.Height(50)
+					GUILayout.Width(250f),
+					GUILayout.Height(50f),
+					GUILayout.ExpandWidth(true),
+					GUILayout.ExpandHeight(true)
 				);
 
 				if (HighLogic.LoadedSceneIsEditor)
@@ -468,27 +470,6 @@
 
 			foreach (IVOID_Module module in this.Modules)
 			{
-				Tools.PostDebugMessage(
-					this,
-					"\n\tmodule.Name={0}" +
-					"\n\tmodule.guiRunning={1}" +
-					"\n\tmodule.toggleActive={2}" +
-					"\n\tmodule.inValidScene={3}" +
-					"\n\tthis.togglePower={4}" +
-					"\n\tthis.factoryReset={5}" +
-					"\n\tHighLogic.LoadedSceneIsEditor={6}" +
-					"\n\t(EditorLogic.RootPart != null && EditorLogic.SortedShipList.Count > 0)={7}" +
-					"\n\t(EditorLogic.RootPart == null || EditorLogic.SortedShipList.Count == 0)={8}",
-					module.Name,
-					module.guiRunning,
-					module.toggleActive,
-					module.inValidScene,
-					this.togglePower,
-					this.factoryReset,
-					HighLogic.LoadedSceneIsEditor,
-					(EditorLogic.RootPart != null && EditorLogic.SortedShipList.Count > 0),
-					(EditorLogic.RootPart == null || EditorLogic.SortedShipList.Count == 0)
-				);
 				if (
 					!module.guiRunning &&
 					module.toggleActive &&
@@ -624,7 +605,17 @@
 				{
 					foreach (IVOID_Module module in this.Modules)
 					{
-						module.toggleActive = GUILayout.Toggle(module.toggleActive, module.Name);
+						GUILayout.BeginHorizontal(GUILayout.ExpandWidth(true));
+
+						module.toggleActive = GUILayout.Toggle(
+							module.toggleActive,
+							GUIContent.none,
+							GUILayout.ExpandWidth(false)
+						);
+
+						GUILayout.Label(module.Name, GUILayout.ExpandWidth(true));
+
+						GUILayout.EndHorizontal();
 					}
 				}
 			}
@@ -633,7 +624,17 @@
 				GUILayout.Label("-- POWER LOST --", VOID_Styles.labelRed);
 			}
 
-			this.configWindowMinimized.value = !GUILayout.Toggle(!this.configWindowMinimized, "Configuration");
+			GUILayout.BeginHorizontal(GUILayout.ExpandWidth(true));
+
+			this.configWindowMinimized.value = !GUILayout.Toggle(
+				!this.configWindowMinimized,
+				GUIContent.none,
+				GUILayout.ExpandWidth(false)
+			);
+
+			GUILayout.Label("Configuration", GUILayout.ExpandWidth(true));
+
+			GUILayout.EndHorizontal();
 
 			GUILayout.EndVertical();
 			GUI.DragWindow();