some styling

This commit is contained in:
FreezeDriedMangoes 2022-05-31 19:31:39 -04:00
parent 489fac98e7
commit 9424c106ad
2 changed files with 6 additions and 7 deletions

View File

@ -169,9 +169,7 @@ namespace NewHorizons.Utility.DebugUtilities
GUILayout.EndHorizontal(); GUILayout.EndHorizontal();
} }
GUILayout.Space(5); GUILayout.Space(20);
// todo: a line or something?
GUILayout.Space(5);
// draw submenu stuff // draw submenu stuff
if (loadedMod != null) if (loadedMod != null)
@ -328,7 +326,8 @@ namespace NewHorizons.Utility.DebugUtilities
{ {
normal = normal =
{ {
background = ImageUtilities.MakeSolidColorTexture(1, 1, new Color(0.3f, 0.3f, 0.3f)) background = ImageUtilities.MakeSolidColorTexture(1, 1, new Color(0.2f, 0.2f, 0.2f, 1)),
textColor = Color.white
}, },
fontStyle = FontStyle.Bold, fontStyle = FontStyle.Bold,
fontSize = 16 fontSize = 16
@ -338,7 +337,7 @@ namespace NewHorizons.Utility.DebugUtilities
{ {
normal = normal =
{ {
background = ImageUtilities.MakeSolidColorTexture(1, 1, new Color(0.2f, 0.2f, 0.2f)), background = ImageUtilities.MakeSolidColorTexture(1, 1, new Color(0.1f, 0.1f, 0.1f, 1)),
textColor = Color.white textColor = Color.white
}, },
fontStyle = FontStyle.Bold, fontStyle = FontStyle.Bold,

View File

@ -43,14 +43,14 @@ namespace NewHorizons.Utility.DebugUtilities
// //
// DebugPropPlacer // DebugPropPlacer
// //
GUILayout.Label("Recently placed objects"); GUILayout.Label("Currently placing: ");
menu._dpp.SetCurrentObject(GUILayout.TextArea(menu._dpp.currentObject)); menu._dpp.SetCurrentObject(GUILayout.TextArea(menu._dpp.currentObject));
GUILayout.Space(5); GUILayout.Space(5);
// List of recently placed objects // List of recently placed objects
GUILayout.Label("Recently placed objects"); GUILayout.Label("Recently placed objects");
recentPropsScrollPosition = GUILayout.BeginScrollView(recentPropsScrollPosition, GUILayout.Width(menu.EditorMenuSize.x)); recentPropsScrollPosition = GUILayout.BeginScrollView(recentPropsScrollPosition, GUILayout.Width(menu.EditorMenuSize.x), GUILayout.Height(500));
foreach (string propPath in DebugPropPlacer.RecentlyPlacedProps) foreach (string propPath in DebugPropPlacer.RecentlyPlacedProps)
{ {
GUILayout.BeginHorizontal(); GUILayout.BeginHorizontal();