Open Setto

Align and distribute

Line layers up with each other or with their container, and space them out evenly.

Where
Inspector, Object section

The alignment buttons line up the edges or centers of layers, and the distribute buttons make the gaps between them equal. Both rows sit at the top of the inspector’s Object section.

  1. Align left
  2. Align horizontal centers
  3. Align right
  4. Align top
  5. Align vertical centers
  6. Align bottom
  7. Distribute horizontally. The leftmost and rightmost layers stay put, and the ones between them move so the gaps are equal.
  8. Distribute vertically. The same, between the top and bottom layers.

What layers align to

  • One layer aligns to its container. A layer that isn’t inside a group aligns to the scene, and a nested one to its group’s box (or, if the group has no box, to the area its children cover). Click Align horizontal centers and then Align vertical centers to center it.
  • Several layers align to the box around the selection. Align left moves them to the leftmost edge, and the center buttons move them to the middle of the selection. The outer bounds of the selection don’t move.
  1. Align horizontal centers
  2. Align vertical centers
ExampleCenter a label in its card

⌘ click the label inside a card so it’s selected on its own, then click Align horizontal centers and Align vertical centers. A single layer aligns to its container, so the label centers in the card, not on the scene.

Distribute

The Distribute row appears when more than one layer is selected, and it works once you have three or more. It evens out the space between layers rather than the distance between their centers, so layers of different widths still get equal gaps. Positions round to whole pixels.

  1. Marquee: select four cards
  2. Align top: the tops line up
  3. Distribute horizontally

None of the eight commands has a default key. You can assign them in Preferences › Shortcuts, in the Arrange group.

What gets measured and what is skipped

  • Each layer is measured by the box around what it draws. A rotated layer is measured by its upright box (its Rotation stays the same), and auto-sized text by its actual size.
  • Locked layers are left out, and the others align as if the locked ones weren’t selected.
  • Children of Flex and Grid groups don’t move. Use the group’s own alignment instead.
  • Parts of charts, cloners and x-rays don’t show the Alignment row.

Combining with other features

  • Flex groups. The buttons move layers once, and nothing keeps them aligned afterward. For alignment and spacing that hold when the content changes, use a Flex group. See Groups and layout.
  • Animation. On a layer with position keyframes, aligning shifts the whole animation by the same distance.
  • Snapping. The buttons ignore snap settings and layout guides. To line a layer up with a guide, drag it.

Limitations

  • You can’t set a custom gap when distributing. Use a Flex group’s Gap for that.
Esc

Type to search every page. Try “cloner”, “padding” or “export”.

↑↓ Move↵ Open