TextInputAppearance
Immutable frame and editing-decoration appearance shared by single-line and multiline editors.
Appearance does not change the four-pixel editor padding, text metrics, state ownership, or focus. Glyph color and shadow remain controlled by the component's textStyle and font arguments. Keep custom images and this value outside reevaluated content; an appearance-only update repaints the retained editor.
Inheritors
Types
Link copied to clipboard
data class Custom(val normal: ImageSource, val focused: ImageSource, val caretColor: ArgbColor, val disabled: ImageSource = normal, val border: Insets = Insets.all(1), val compositionUnderlineColor: ArgbColor = caretColor) : TextInputAppearance
Supplies three independently resolved nine-slice frames and visible editing decorations.
Link copied to clipboard
Uses the active profile's field sprites and legacy white caret and composition underline.