Align edges: How to choose which element aligns and which one stays?


Question

Situation: I have two or more objects, I want to align one to the other (say top border).

Problem: Sometimes the align feature aligns the "wrong" object, that is to say, I want it to align object B to object A, yet it aligns object A to object B instead.

I've been baffled by this for a while now, there seems to be no apparent logic on how to select which one is the leading object. I select them in the layers panel using CTRL, but no matter what I select first, it always aligns by the same logic.

1
2
4/7/2017 4:43:00 PM

Accepted Answer

I don't think there is any "key object" logic in Photoshop. Perhaps I'm wrong.

The align options use the entire area around all selected objects. So if you imagine a bounding box surrounding the selected objects, that's where things get aligned to.

align

If object A is further left than object B and you click align left, then everything is aligned to the left edge of object A.

If object B is further right than object A and you click align right, then everything is aligned to the right edge of object B.

If object B is above (location not stacking order) object A and you click align top, then everything is aligned to the top edge of object B.

and so on.....

This lack of key object logic, and the complete absence of any distribute spacing options, makes alignment within Photoshop not as versatile as other applications. In many instances, that means you need to align, then move objects into position after you've aligned them.

1
10/24/2013 5:16:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow


Website under construction!!!
^