struct GUITextFieldContent

Structure describing contents of a GUITextField element.

Public

Constructors

GUITextFieldContent

GUITextFieldContent() = default

GUITextFieldContent

GUITextFieldContent(bool allowMultiline, const GUIContent &labelContent = GUIContent(), u32 labelWidth = 0, bool showLabel = false)

Fields

AllowMultiline

bool AllowMultiline

If true, allows multiline input.

ShowLabel

bool ShowLabel

If true, label will be shown next to the field.

LabelContent

GUIContent LabelContent

Content to display in the editor field label.

Only relevant if ShowLabel is true.

LabelWidth

u32 LabelWidth

Width of the label in pixels.

Only relevant if ShowLabel is true.