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


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

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


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

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


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

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