Manual     Reference     Scripting  
  
Scripting > Editor Classes > EditorGUILayout   

EditorGUILayout.LabelField  

static function LabelField (label : string, label2 : string, params options : GUILayoutOption[]) : void

Parameters

NameDescription
label Label in front of the label field.
label2 The label to show to the right.
options An optional list of layout options that specify extra layouting properties. Any values passed in here will override settings defined by the style.
See Also: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight

Description

Make a label field. (Useful for showing read-only info.)