odo.api
/
straightway.odo.api.v0.ui
/
TextHolder
/
Initializer
Initializer
interface
Initializer
:
UiElement.Initializer
Content copied to clipboard
Initializer for a text holder.
Properties
Extensions
Inheritors
Properties
font
Link copied to clipboard
abstract var
font
:
Font
Content copied to clipboard
The font for the text.
horizontalAlignment
Link copied to clipboard
abstract var
horizontalAlignment
:
HorizontalAlignment
Content copied to clipboard
The horizontal alignment of the element within the available space.
pos
Link copied to clipboard
abstract var
pos
:
Grid.Pos
Content copied to clipboard
The position of the UI element within the grid of its parent element.
sizePolicy
Link copied to clipboard
abstract var
sizePolicy
:
SizePolicy
Content copied to clipboard
The element's size policy.
span
Link copied to clipboard
abstract var
span
:
Grid.Span
Content copied to clipboard
The size of the element within the grid of its parent element.
text
Link copied to clipboard
abstract var
text
:
UiString
Content copied to clipboard
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
Content copied to clipboard
Set a fixed UI text for a text holder.