Spacing objects equally in shape?

I’ve run into a little snag. I’m trying to distribute a two lines along the body of a square in Illustrator.

The lines

This is what I want the lines to look like, this done by hand though it’s not distributed perfectly.

Say I select the two vertical lines and the square and then I make the square the key object. I then click on horizontal distribute space. What I get is this.

enter image description here

The two lines just align themselves to the right hand side of the square.

Am I doing something wrong? Thanks in advance!!


This may not be the most elegant solution, but working in Illustrator is all about problem solving.

My suggestion would be to place two extra lines on the edges of the square, for the vertical lines, one on the exact right and one on the exact left, then dropping your two original lines pretty much anywhere in between. Then select all four lines, switch to ‘align to selection’ in the align panel, and click ‘horizontal distribute center.’ Then just scrap the two lines on the far right and left. Repeat for the horizontal lines!

Hopefully this answers your question in a clear and helpful way. It’s my first answer on the Graphic Design StackExchange

Source : Link , Question Author : Banzboy , Answer Author : krrl

Leave a Comment