- Home /
Setting height via GUILayout.Height() has no effect to BeginVertical in Inspector
Hey there!
I did the following:
Rect tmp = EditorGUILayout.BeginVertical(GUILayout.Height(200f));
Debug.Log(tmp);
EditorGUILayout.EndVertical();
My output is this:
(x:14.00, y:222.00, width:258.00, height:0.00)
Look at "height". It's zero even though I set it manually to 200! How can I set the height of a group to a specific value? I'm doing a rotation in my inspector so I need to make a gap manually. That's the reason why I need this.
Thank's everybody who reads this ;)
Comment
Your answer
Follow this Question
Related Questions
Custom Editor Struct array layout 0 Answers
EditorGUILayout.BeginVertical indent level 1 Answer