I'm trying to align my main object to the center of the artboard while retaining the spacing of the objects. Whats the best way to do this?

enter image description here

Basically I want the yellow box to be centered and the greenish star to keep its relationship to the box off to the right. I know I can center the parent object but I want the center point to bisect the yellow box and not the parent object.

2 Answers 2

  1. Make a copy of the yellow box
  2. Use the align to artboard to center the box
  3. Group the original obejects together to maintain spacing
  4. Move the group so the two boxes are aligned
  5. Delete copy of box

Maybe not the quick fix you were looking for but it's how I'd do it.

  • This is how I have been doing it. Not the most ideal solution but it works, I was just hoping there was something more elegant.
    – Ryan Grush
    Commented Jun 11, 2014 at 15:15
  • 1
    I never thought of doing it a different way, or the way you were asking about. But now that you've brought it up, it really is inefficient. I've also wanted them to add an align spacing for a grid button for a long time, but i haven't seen it yet. That is if I have a 6 by 6 group of squares (or whatever) instead of having to distribute the spacing horizontally first, then vertically, Illustrator would be smart enough to do both. Commented Jun 11, 2014 at 15:19
  • Measure the distance from the rectangle to the star.
  • or create a temporary object which aligns with the star and rectangle to indicate the distance.
  • Align the rectangle. -Move the star the proper distance from the newly aligned rectangle.

If it were me, I'd draw a line up from the right side of the triangle and right from the top of the triangle and group that with the star. Align the rectangle, then realign the the paths I drew. Ungroup and delete the paths.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.