SizePolicy

enum SizePolicy : Enum<SizePolicy>

A size policy for UI layout.

Entries

MakeRoom
Link copied to clipboard
The UI element shrinks if necessary to make room for other UI elements
FixedSize
Link copied to clipboard
The UI element has a fixed size.
DominatingWidth
Link copied to clipboard
The UI element is dominating the width, i.e.
DominatingHeight
Link copied to clipboard
The UI element is dominating the height, i.e.
Dominating
Link copied to clipboard
The UI element dominates both width and height.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int