Hiya all, I am having an issue with centering a simple GUI box. If I set the Default screen size to 1280 x 800, like stated in the tutorial, everything is fine when displaying a content box (Anchor: middle Center). However, if I set the default screen to 1980 x 1080, the box is not centered anymore and remains on the left side of the screen.
Any idea on what I might be doing wrong? Thanks, -Jeff
The Anchor of the GUI box's content box settings define which part of the box will be placed at the position defined in the bounds. So, the Middle Center anchor will place the center of the box at the position.
When changing the default screen size, you also need to adjust the positions of GUI boxes.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
When changing the default screen size, you also need to adjust the positions of GUI boxes.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!