Prevent moving of objects when changing bounds of a window

Hi,

When I change the bounds of a window (making it bigger vertically), some objects in it move too, some don’t, some go up, some go down. Is there any explanation for that? And can I prevent it somehow?

Thanks in advance.

Hi,

you can adjust the sizing behavior of UI elements in Interface Builder > Size Inspector > Autosizing

Thanks Stefan ! I don’t know how it works but I changed it a bit and now it doesn’t move anymore. I’ll have to find out how it works but that won’t be too hard.

Actually the red rectangle shows the way it resizes.
Click on the red lines in the square diagram on the left to change it.