TextFieldLabelPosition.Above


The label is positioned above and outside the text field container. This results in the label always being minimized.

Summary

Public constructors

Above(minimizedAlignment: Alignment.Horizontal)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

open 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 minimized.

Cmn

Inherited properties

From androidx.compose.material3.TextFieldLabelPosition
open Alignment.Horizontal

The horizontal alignment of the label when it is expanded.

Cmn

Public constructors

Above

Above(minimizedAlignment: Alignment.Horizontal = Alignment.Start)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

alwaysMinimize

open 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.

minimizedAlignment

open val minimizedAlignmentAlignment.Horizontal

The horizontal alignment of the label when it is minimized.