Layout¶
Tick UI describes layout with a stack of rects, a set of single-rect helpers, and a set of multi-element schemas.
The pages in this section:
- Layout guide: the workflow side. The
Auto()scope, the rect stack, when each helper applies, and how to combine layout with drawing calls. - Layout cheatsheet: every single-rect helper
(
Top,Bottom,Pad,Center,Inset*) in one table. - Schemas: the multi-element schemas (
Series,Stack,Sized,Split,Grid,Radial).
For the rect stack itself and why Pop matters, refer to
Stacks. For the layout-space versus
screen-space rule, refer to
Coordinate spaces.