Bug in Projucer GUI editor: objects positioned relative to other elements are not handled in resized()


#21

OK, I’ve pushed this commit to the develop branch:

You’ll need to pull and re-build the Projucer to see the changes.


#22

This line is a litte bit tricky to unpack. It’s equivalent to:

xMode.anchorPoint != anchorAtRightOrBottom &&
xMode.anchorPoint != anchorAtCentre &&
xMode.positionMode == absoluteFromParentTopLeft

i.e.

xMode.anchorPoint == anchorAtLeftOrTop &&
xMode.positionMode == absoluteFromParentTopLeft

I’m surprised it passed your internal code review :wink: