7. Group and align a tidy layout
Use groups for pieces that should travel together, such as a verb icon and its label. Use alignment for pieces that should line up but can still be edited independently.
1. Ctrl-click the controls you want to keep together.
2. Click Group. The elements receive a shared Group ID.
3. Move a grouped element to move the group. Resizing a grouped selection transforms the group's positions and sizes proportionally.
4. Use Ungroup when you need to edit the members separately, then group them again if useful.
Figure 10. Align offers edge, center, size and distribution commands. The control you make primary matters for multi-selection alignment.
| Align command | Reference it uses |
|---|---|
| One element selected | The GUI canvas. For example, Horizontal Center centers it in the GUI. |
| Several elements selected | The primary selected element. Select the intended reference last. |
| Same Width / Same Height | Matches the primary control's dimension. |
| Distribute Horizontally / Vertically | Needs at least three controls. It spaces their centers between the first and last. |
Copy, Paste and Duplicate give copied groups new Group IDs so moving the copy does not move the originals. While several elements are selected, the detailed single-element form is hidden; use Group, Align or Arrange, or return to one selection.
