LabelPosition

elements.LabelPosition (Abstract)

Enumeration defining the position of a label relative to its associated view.

Used by LabeledView and other UI components to control the spatial relationship between labels and their corresponding input fields or views.

Values:

  • LEFT: Label appears to the left of the view
  • RIGHT: Label appears to the right of the view

Example usage:

var labeledField = new LabeledView(textField);
labeledField.labelPosition = LEFT;  // Label on the left side
labeledField.labelPosition = RIGHT; // Label on the right side

Type Conversions

From:

  • [Int](/api-docs/clay-native/Int/)

To:

  • [Int](/api-docs/clay-native/Int/)

Metadata

Name Parameters
:enum -