Layout
Scaffold
Border layout with a required center and optional edges.
Scaffold is the canonical border layout. The center view is the required
constructor argument; top, bottom, leading, and trailing edges are optional
and attached via chain methods.
Example
Why Scaffold, not Border
A positional Border(top, bottom, leading, trailing, center) is easy to
write wrong. Named chain methods make intent explicit and allow omitting
edges without nil placeholders.
Sizing
The center occupies all space the edges do not claim. Each edge uses its
natural size along the axis it pins against. If you need more complex
layout, nest a VStack or HStack inside the center.