Expand description
Position your widgets properly.
Modules§
- flex
 - Distribute elements using a flex-based layout.
 
Structs§
- Layout
 - The bounds of a 
Nodeand its children, using absolute coordinates. - Limits
 - A set of size constraints for layouting.
 - Node
 - The bounds of an element and its children.
 
Functions§
- atomic
 - Computes the resulting 
Nodethat fits theLimitsgiven some width and height requirements and no intrinsic size. - contained
 - Computes the resulting 
Nodethat fits theLimitsgiven some width and height requirements and a closure that produces the contentNodeinside the givenLimits. - next_
to_ each_ other  - Produces a 
Nodewith two children nodes one right next to each other. - padded
 - Computes the 
Nodethat fits theLimitsgiven some width, height, andPaddingrequirements and a closure that produces the contentNodeinside the givenLimits. - positioned
 - Computes a 
paddedNodewith a positioning step. - sized
 - Computes the resulting 
Nodethat fits theLimitsgiven some width and height requirements and a closure that produces the intrinsicSizeinside the givenLimits.