mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
some styling
This commit is contained in:
parent
489fac98e7
commit
9424c106ad
@ -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,
|
||||||
|
|||||||
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user