Aligning Objects

Aligning Objects

The Alignment panel.

Align objects with other objects, the selection boundary, or the current artboard. Open the Alignment panel from the Window menu to align and distribute objects, match their sizes, or arrange them along a shape.

Alignment and distribution along an axis are called axial alignment. You can align relative to the rotated document view or set an angle in the Alignment panel. You can also define custom alignments, such as matching one object’s left edge to another object’s right edge.

The panel contains sections for aligning positions, optical alignment, distribution, matching sizes, block stretching, and alignment along a shape. Shared alignment settings appear below these sections. Show or hide sections using the panel menu.

Enable Overlapping Mode in the panel menu to keep overlapping objects in their relative positions while aligning them with other objects.

Aligning Objects

Select objects, then click a button in Align Positions. Alignment uses the angle in Angle and, when Viewing Angle is enabled, the current view rotation.

  • Align left - Align left edges.
  • Align horizontal centers - Align horizontal centers.
  • Align right - Align right edges.
  • Align adjacent horizontal edges - Align each object’s right edge to the next object’s left edge.
  • Align top - Align top edges.
  • Align vertical centers - Align vertical centers.
  • Align bottom - Align bottom edges.
  • Align adjacent vertical edges - Align each object’s top edge to the next object’s bottom edge.

Use Alignment Scheme in the panel menu to define other alignments. Set the distance between aligned reference positions in Space.

Optical Alignment

Enable Optical in the panel menu to show the Optical Alignment controls. These align objects using their relative optical axes. They use the same angle settings as other alignment modes.

  • Optical left alignment - Align left optical axes.
  • Optical horizontal centers - Align horizontal optical centers.
  • Optical right alignment - Align right optical axes.
  • Optical adjacent horizontal edges - Align each object’s right optical axis to the next object’s left optical axis.
  • Optical top alignment - Align top optical axes.
  • Optical vertical centers - Align vertical optical centers.
  • Optical bottom alignment - Align bottom optical axes.
  • Optical adjacent vertical edges - Align each object’s top optical axis to the next object’s bottom optical axis.

Edit optical alignment settings with Alignment Scheme in the panel menu.

Distributing Objects

Distribution spaces objects evenly across the selection’s bounding box. You can space their edges or centers evenly, or make the gaps between objects equal. The Distribute section provides these options:

  • Distribute left edges - Space left edges evenly across the selection.
  • Distribute horizontal centers - Space horizontal centers evenly.
  • Distribute right edges - Space right edges evenly.
  • Distribute horizontal gaps - Make the horizontal gaps between objects equal.
  • Distribute top edges - Space top edges evenly across the selection.
  • Distribute vertical centers - Space vertical centers evenly.
  • Distribute bottom edges - Space bottom edges evenly.
  • Distribute vertical gaps - Make the vertical gaps between objects equal.

Use Alignment Scheme in the panel menu to define other distribution options. Distribution uses the Angle setting and, when enabled, the view rotation.

Align Object Sizes

Use Align Size to give selected objects the same width or height. Match the key object or use the smallest, medium, or largest dimension in the selection.

  • Match key width - Match the key object’s width.
  • Match smallest width - Match the smallest selected width.
  • Match medium width - Use the medium width of the selected objects.
  • Match largest width - Match the largest selected width.
  • Match key height - Match the key object’s height.
  • Match smallest height - Match the smallest selected height.
  • Match medium height - Use the medium height of the selected objects.
  • Match largest height - Match the largest selected height.

The Angle setting and optional view rotation determine the horizontal and vertical resizing directions. Define other size alignments with Alignment Scheme in the panel menu.

Align to Shape

Use Align to Shape to arrange objects along a path. Objects can be positioned along the path and rotated to follow its direction.

Select the objects to arrange, then select the alignment shape last.

  • Equal gaps along path - Align along the path with equal gaps between adjacent object edges.
  • Equal left-edge spacing along path - Align along the path with evenly spaced left edges.
  • Equal center spacing along path - Align along the path with evenly spaced centers.
  • Equal right-edge spacing along path - Align along the path with evenly spaced right edges.
  • Distribute along path - Distribute objects across the path’s length with equal gaps.
  • Align left along path - Align objects to the left along the path’s length.
  • Center along path - Center objects along the path’s length.
  • Align right along path - Align objects to the right along the path’s length.
  • Align to Shape tool - Activate the Align to Shape tool to adjust the objects’ positions along the path.
  • Start - Set the position along the path, relative to the left, center, or right alignment.
  • Offset - Set the distance between object centers and the path.
  • Rotate Objects - Rotate objects to follow the path’s direction.
  • Keep Rotation - Apply rotation relative to each object’s existing rotation.

Define other shape alignments with Alignment Scheme in the panel menu.

Block Stretching

Block stretching combines alignment, resizing, and distribution to arrange selected objects into a block.

Enable Block Stretching in the panel menu to show these controls.

  • Block stretch to reference width - Resize, distribute, and align horizontally to the reference object’s width.
  • Block stretch to smallest width - Resize, distribute, and align horizontally to the smallest object width.
  • Block stretch to medium width - Resize, distribute, and align horizontally to the medium object width.
  • Block stretch to largest width - Resize, distribute, and align horizontally to the largest object width.
  • Block stretch to reference height - Resize, distribute, and align vertically to the reference object’s height.
  • Block stretch to smallest height - Resize, distribute, and align vertically to the smallest object height.
  • Block stretch to medium height - Resize, distribute, and align vertically to the medium object height.
  • Block stretch to largest height - Resize, distribute, and align vertically to the largest object height.

Positioning Aligned Objects

Use the Align to Shape tool Align to Shape tool in the Alignment panel to move aligned objects along a path:

  1. Keep the aligned objects and the key object selected, then click Align to Shape tool.
  2. Click an aligned object and drag it along the path. The aligned objects shift together as you drag.
  3. Release the mouse button at the desired position.

Alignment Options

These settings affect alignment, distribution, and resizing:

  • Angle - Set the alignment axis angle. Horizontal and vertical operations use this angle.
  • Space - Set the distance between aligned reference positions. For example, with left alignment, a nonzero value spaces the left edges of consecutively selected objects. The default is zero, so the reference positions line up exactly.
  • Sticky Groups - Move and rotate an entire group when one of its members is aligned with objects outside the group. Without this option, a group member selected with Select group member can move independently. With it enabled, the other group members move too, even if they are not selected.
  • Viewing Angle - Add the current view rotation to Angle. When disabled, only Angle is used.
  • Align to selection - Align to the selection’s bounding box.
  • Align to key object - Align to a key object. While Align to key object is active, click a selected object to make it the key object.
  • Align to artboard - Align to the artboard frame.
  • Selection order - Process objects in selection order.
  • Stacking order - Process objects in stacking order.
  • Geometric order - Process objects in geometric order.

The Alignment Panel Menu

The Alignment panel menu.

Use the panel menu to show or hide controls and change alignment behavior. Some options are also available directly in the panel.

  • Alignment Scheme - Define custom alignments using positions within the objects’ frames.
  • Align Positions - Show or hide the Align Positions section.
  • Distribute - Show or hide the Distribute section.
  • Align Sizes - Show or hide the Align Size section.
  • Block Stretching - Show or hide the Block Stretching section.
  • Align to Shape - Show or hide the Align to Shape section.
  • Proportional Sizing - Preserve object proportions when matching sizes.
  • Overlapping Mode - Keep overlapping objects in their relative positions.
  • Use Content Box - Use the content box when aligning text frames.
  • Sticky Groups - Move the whole group when a member is aligned with objects outside it.
  • Viewing Angle - Include the current view rotation in the alignment angle.
  • Rotate Objects - Rotate objects to follow the alignment shape’s direction.
  • Keep Rotation - Apply rotation relative to each object’s existing rotation.
  • Selection Order - Process objects in the order they were selected.
  • Object Order - Process objects in stacking order.
  • Geometric Order - Process objects in their geometric order along the alignment axis.
  • Align to Selection - Use the selection’s bounding box as the reference frame.
  • Align to Key Object - Use the key object’s bounding box. Click a selected object to make it the key object.
  • Align to Artboard - Use the active artboard’s bounding box as the reference frame.

More Alignment Options

Choose Alignment Scheme from the panel menu to define custom alignment settings. Select the positions within each object that you want to align.

  • Manage custom alignments in the Presets field.
  • Choose Save Preset to save the current settings as a new alignment preset.
  • Choose Remove Preset to delete the selected custom preset.
  • Select a saved preset from the Presets list to use it.
  • Set the object order in Ordering. This is saved with the preset.
  • Choose Axial, Optical, Shape, or Size in Type.

The available controls depend on the alignment type.

Axial Alignment Options

Detailed Axial alignment options.

Use these settings for custom axial alignment:

  • Alignment uses the panel’s Angle setting and, when enabled, the view rotation.
  • Horizontal - Set values for horizontal alignment.
  • Vertical - Set values for vertical alignment.
  • Source and Target - Set reference positions from the start to the end of each object’s frame. An object’s Source position aligns with the previous object’s Target position. For example, a source of 0% and target of 50% align the next object’s left or bottom edge with the previous object’s center.
  • Space - Set the gap between the source and target reference positions.

Optical Alignment Options

Detailed Optical alignment options.

Use these settings for custom optical alignment:

  • Alignment uses the panel’s Angle setting and, when enabled, the view rotation.
  • Horizontal - Set values for horizontal optical alignment.
  • Vertical - Set values for vertical optical alignment.
  • Density - Set the density of samples used to evaluate the object’s area.
  • Sample Reference - Set the area-sampling reference relative to the aligned objects’ sizes.
  • Weighting - Choose how the object’s area is weighted for optical alignment.
  • Boundary Shape - Ignore holes in shapes when calculating optical alignment.

Each axis has these additional controls:

  • Mode - Choose the optical alignment type.
  • Source and Target - Set the optical alignment positions along the object.
  • Strength - Set how much shape density affects the margin.
  • Dampen - Set how much to dampen excess margins.
  • Tapering - Set how much to taper excess margins.
  • Expand - Set the margin expansion. Available when Weighting is Expanded.
  • Limit - Set the maximum excess margin used for optical alignment.

Shape Alignment Options

Detailed Shape alignment options.

Shape alignment matches a reference position within each object to a position on the path.

  • Align - Set the object position to align to the path.
  • Shape - Set the relative offset of the path position where an object is placed.
  • Source and Target - Set how object margins align relative to each other along the path.
  • Center X and Center Y - Set the point within the object frame that is placed on the shape.
  • Offset - Set the distance between the object’s alignment point and the shape.
  • Spacing - Set the space between objects.
  • Max Shape - Set the maximum number of paths to use from the key object. The key object can be a group, allowing alignment along several shapes.
  • Start - Set the starting position on the shape. You can also adjust this with the Align to Shape tool tool in the Alignment panel.
  • Rotate Objects - Rotate objects to follow the shape’s direction.
  • Distributed - Distribute reference positions along the shape’s length. When disabled, objects align to the reference positions without distribution.
  • Relative Start - Use a relative starting position along the shape.
  • Keep Rotation - Apply rotation relative to each object’s existing rotation.
  • Double Sides - Continue alignment on the other side of the shape if its length cannot accommodate all the objects.

Size Alignment Options

Detailed Size alignment options.

Choose a size between the smallest and largest dimensions in the selection:

  • Width - Set the width relative to the smallest and largest selected widths.
  • Height - Set the height relative to the smallest and largest selected heights.