Im trying to add some settings UI to change game settings and im having an issue, looking at the documentation, I thought that anchor offsets and sizing stuff should scale with the viewport size but it doesnt seem to be scaling correctly so I dont know what pixel values to use. The values are different for every node in the scene so im guessing there’s just something Im missing or not understanding correctly. In case the screenshots dont work I used one VBoxContainer as an example, where if I want to fill the screen with a 0 left offset, the right offset has to be 1162, but the project settings have my base size at 640 x 360, so I thought the right one would need to be 640 in this case.
Im trying to put the settings at a specific place, but even centered its going off to the side not at the center. I tried the same thing in a test project and its all working so i think some setting got messed up at some point but im not sure what. The viewport height and width in the project settings isnt matching up to the in editor box for some reason.
It’s hard to tell without seeing the anchors and the scene tree. Have a look this video tutorial which explains UI layouts well: https://youtu.be/5Hog6a0EYa0