Aligns all children along the x-axis or y-axis.

LUILineLayout.createXAligned(...) << Horizontal Layout
LUILineLayout.createYAligned(...) << Vertical Layout

All elements have the same size (per default). The counter-axis size always fills the entire parent.

Hierarchy

  • LUILineLayout

Implements

Constructors

Properties

elementSize: number
isX: boolean
space: number
AxisX: string = "x"
AxisY: string = "y"

Methods

Generated using TypeDoc