Author Topic: Align Shape - Top to Bottom or Left to Right  (Read 9 times)

0 Members and 1 Guest are viewing this topic.

caveman

  • Newbie
  • *
  • Posts: 2
Align Shape - Top to Bottom or Left to Right
« on: Today at 02:25:00 AM »
Hi, I've been looking for a quick way to align shapes top to bottom and not found an easy way other than painstaking zoom and drag.

I've stumbled onto a (I think) an easier way. Last post about this I found was a few years back so thought I'd start a new thread.

Using the size and position X & Y coordinates.
For example
    E
A  B
    D
If Box A (central you want to alight next to):
X = 72.5mm
Y = 210mm
Width = 45mm
Height = 20mm

Align left of box B to right of box A:
72.5mm (x) + 45mm (width) x = 117.5mm

Align right of box C to left of box A:
72.5mm (x) -45mm (width) x = 27.5mm

Align top of box D to bottom of box A:
210 (y) -20mm (height) y = 190mm

Align bottom of box E to top of box A:
210 )y) + 20mm (height) y = 230mm
 
Hopefully this makes sense to someone.

Yacine

  • Hero Member
  • *****
  • Posts: 2596
Re: Align Shape - Top to Bottom or Left to Right
« Reply #1 on: Today at 03:22:53 AM »
Hi caveman,
I don't really understand the problem.

If there are only 5 shapes like in your example, best would be to use proper snapping settings.
If there are a lot of shapes, where automation begins to make sense, then you would need to define more restrictions (same heigth and width? , how to define the central shape, ....)
Yacine

caveman

  • Newbie
  • *
  • Posts: 2
Re: Align Shape - Top to Bottom or Left to Right
« Reply #2 on: Today at 04:37:01 AM »
Yacine,

I only used the example of 5 shapes to show how it can be done from each side.

Problem is how to align two shapes off centre of each other i.e. left hand of one shape with the right hand of another.

Please let me know an easier way if you know it.

Cheers