When using Auto Layout for an entire page flow, not everything is spaced equally. For example, imagine a page like:
- Toolbar
- Heading
- Paragraph
- Input
- Button
To put all of these into a single Auto Layout and give equal spacing to all of it is not typically how it’d work (eg, Toolbar + Heading might be close together, but more spacing around above and below the Input).
To use the benefits of Auto Layout, I wrap these objects into their own Auto Layout frames and then use the padding within these nested frames to create the spacing between elements.
It’d be great to be able to apply margins to objects (like text frames or other frames) without having to first nest them into their own individual frames. This would be closer to how CSS typically works as text elements (h1
, h2
, p
, …) don’t need to be nested in a div
to have margin added to them.