Consumes the entire space of the parent.

Each child can consume a varying amount of it's parent's space. This is highly order dependent.

Child-Layout-Properties:

- dir:string // "left", "right", "top", "bottom"
- size:number // amount of space the element wants to consume
- rest: string // "x" or "y"

space:
0 // 0 pixel
0.5 // 50% of the space
1 // 1 pixel
10 // 10 pixel

Hierarchy

  • LUISpaceLayout

Implements

Constructors

Properties

AxisX: string = "x"
AxisY: string = "y"
DirBottom: string = "bottom"
DirLeft: string = "left"
DirRight: string = "right"
DirTop: string = "top"
PropDir: string = "dir"
PropRest: string = "rest"
PropSize: string = "size"

Methods

Generated using TypeDoc