Is there a way to specify a width in a call to EditorGUILayout.Foldout(…) ?
I don’t understand how to Use GUIStyle
EditorGUI.Foldout(RECT, TRUE, GUILayout.Width(200));
GUIStyle style = new GUIStyle(EditorStyles.foldout);
style.fixedWidth = 5;
EditorGUILayout.Foldout(state, "label", style)
6 Likes