a few tidy ups

This commit is contained in:
sinaioutlander
2020-09-08 04:33:27 +10:00
parent c228d29707
commit 4aefe1c5a3
3 changed files with 26 additions and 32 deletions

View File

@ -50,7 +50,7 @@ namespace Explorer
}
GUI.skin.button.alignment = TextAnchor.MiddleLeft;
if (GUILayout.Button("<color=yellow>" + label + "</color>", new GUILayoutOption[] { GUILayout.Width(width) }))
if (GUILayout.Button("<color=yellow>" + label + "</color>", new GUILayoutOption[] { GUILayout.Width(width - 15) }))
{
WindowManager.InspectObject(Value, out bool _);
}