TextFieldLabelPosition

Known direct subclasses
TextFieldLabelPosition.Above

The label is positioned above and outside the text field container.

TextFieldLabelPosition.Default

The default label position.


The position of the label with respect to the text field.

Summary

Nested types

The label is positioned above and outside the text field container.

The default label position.

Public properties

abstract Boolean

Whether to always keep the label of the text field minimized.

Cmn
open Alignment.Horizontal

The horizontal alignment of the label when it is expanded.

Cmn
abstract Alignment.Horizontal

The horizontal alignment of the label when it is minimized.

Cmn

Public properties

alwaysMinimize

abstract val alwaysMinimizeBoolean

Whether to always keep the label of the text field minimized.

If false, the label will expand to occupy the input area when the text field is unfocused and empty. If true, this allows displaying the placeholder, prefix, and suffix alongside the label when the text field is unfocused and empty.

expandedAlignment

open val expandedAlignmentAlignment.Horizontal

The horizontal alignment of the label when it is expanded.

minimizedAlignment

abstract val minimizedAlignmentAlignment.Horizontal

The horizontal alignment of the label when it is minimized.