Initializer

interface Initializer : UiElement.Initializer

Initializer for a text holder.

Properties

font
Link copied to clipboard
abstract var font: Font
The font for the text.
horizontalAlignment
Link copied to clipboard
abstract var horizontalAlignment: HorizontalAlignment
The horizontal alignment of the element within the available space.
pos
Link copied to clipboard
abstract var pos: Grid.Pos
The position of the UI element within the grid of its parent element.
sizePolicy
Link copied to clipboard
abstract var sizePolicy: SizePolicy
The element's size policy.
span
Link copied to clipboard
abstract var span: Grid.Span
The size of the element within the grid of its parent element.
text
Link copied to clipboard
abstract var text: UiString
The displayed text.

Inheritors

Button
Link copied to clipboard
TextLabel
Link copied to clipboard

Extensions

fixedText
Link copied to clipboard
var TextHolder.Initializer.fixedText: String
Set a fixed UI text for a text holder.