Groupbox controls move wrong

I have a window that has THREE groupboxs
the first two have Three canvas controls laid out equal space horizontally
the last one only has Two canvas
All the canvas seem to be “contained” within the appropriate groupbox (ie. the groupbox turns red when I click any of the canvas)
All the canvas are the same size, and the same coordinates relative to their groupbox, and all the lock attributes are the same (upper/left)

As the containing window is resized, each groupbox centers itself horizontally based on the new window size.

All that works just fine…

HOWEVER… the two canvas in the last box are shifted to the left (so the first box is actually outside the groupbox)… The canvas all move properly in relation to the groupbox… but shifted to the left about 80px (a guess)

I have checked every property, on every canvas, and they all match…

There is NO CODE that refers to the canvas objects (yet)… the only code is to alter the LEFT of the GROUPBOX, nothing else

The first two behave as expected… but the 3rd isn’t and I cannot find anything “different”

the Groupbox are names GB(0) to GB(2)
the canvas are PLACEHOLDER(0) to PLACEHOLDER(7)
GB(0) has Placeholder(0) to (2)
GB(1) has Placeholder(3) to (5)
GB(2) has Placeholder(6) and (7) <- this is the bad guy :frowning:

Do you have an example where we could have a look? Usually, for any type of complex window I do containers. They make life much easier. Put each groupbox on a container and then place the containers on the window. Headache solved.

That should not be necessary, since a group box IS a “container”,… I usually only use the container control when I am making custom controls… which actually that is what will be replacing the canvas… (hence the current name of “placeholder”)