UI Changing sizes depending on tabs open

Hello Developers,

I’m experiencing an issue that when I close the properties tab my UI gets bigger, but when I open it it goes back to the size I set it as. I’ve experienced this issue before and managed to fix it before but can’t remember how so any help would be appreciated.

Properties Tab Open:

Properties Tab Closed:

3 Likes

Anybody got any ideas? Any help would be appreciated.

Are you using scale for size? That will change the ui’s physical size to take up the same percentage of the screen no matter what size it is. i.e. if size is {0.5,0,0.5,0} the ui will always be half of the size of the screen, no matter what the size of the screen is.

If you do not want this behavior, use offset. This makes it so that the ui is the same amount of pixels on every screen. i.e. if size is {0,50,0,100} it will always be 50 by 100 pixels in size.