Download

Widgets not centering on display. Need help.

Hi. I recently added a simple blueprint for Start/Quit game a menu. In the screen shots below, it would appear that (figure 1) the buttons should be pretty much centered when I run the game, but (figure 2) you can see they are not. I tried moving the whole canvas around, but nothing seems to give me results that make sense. How do I fix this?

fig 1:

s9.png

fig 2

s8.jpg

Your viewport aspect ratio is not the same as your widgets is, pull the viewport to 16:9, and it will be centered.

If you want to support and work with non-standard aspect ratios, you could use ScaleBox in Widgets to force scale your widgets to different sizes.

I think you forget set the Anchor and alignment.

make sure the anchor of your Widget is in the Center of the Screen