public JellyMeshFixedWidthLabel(GUIContent label) { //Create a horizontal group EditorGUILayout.BeginHorizontal(); //Display the label: EditorGUILayout.LabelField(label, //Fix its width: GUILayout.Width(GUI.skin.label.CalcSize(label).x + //Correct for previous indentation: (9 pixels per level) 9 * EditorGUI.indentLevel)); //Set following indentation to zero: indentReset = new JellyMeshZeroIndent(); }