UI Scaling for all devices help

All UI elements use scale. (no offset)



Do I need to use offset to fix? I heard scale was the best?

Use UIAspectRatioConstraint. It helps a lot.

1 Like

I would recommend and an aspect ratio constraint.

Also make sure that the X image is using scale, and is parented under the X button so that it’s size is relative to the button.

You also probably want a script to automatically set the width of the UI stroke:

1 Like

This video also seems to work for me a lot, it gives you a script that auto scales everything you want.

2 Likes