We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d18a4 commit cf5c439Copy full SHA for cf5c439
Core/Design/Editor.cs
@@ -23,7 +23,10 @@ public static void BeginGroup(float width, string style = "Box")
23
_nameWidth = 160;
24
_contentWidth = width - _nameWidth;
25
26
- UnityEngine.GUILayout.BeginVertical(style);
+ if (string.IsNullOrEmpty(style))
27
+ UnityEngine.GUILayout.BeginVertical();
28
+ else
29
+ UnityEngine.GUILayout.BeginVertical(style);
30
}
31
public static void BeginHorizontal()
32
{
0 commit comments