1681-engine / ui / StackOptions
Interface: StackOptions ​
Defined in: src/ui/layout/stack.ts:7
Properties ​
align? ​
ts
optional align?: StackAlign;Defined in: src/ui/layout/stack.ts:13
crossSize? ​
ts
optional crossSize?: number;Defined in: src/ui/layout/stack.ts:15
A cross size to align in instead of the widest item's (a column as wide as its window).
direction? ​
ts
optional direction?: StackDirection;Defined in: src/ui/layout/stack.ts:8
gap? ​
ts
optional gap?: number;Defined in: src/ui/layout/stack.ts:10
Between two items (default 0).
padding? ​
ts
optional padding?: number | Partial<Insets>;Defined in: src/ui/layout/stack.ts:12
Inside the stack's edge (default 0).
snap? ​
ts
optional snap?: boolean;Defined in: src/ui/layout/stack.ts:17
Whole pixels (pixel-perfect UI).