UIAspectRatioConstraint problem

, ,

Hello!

I’m having a problem with designing UI.

My goal is to have the white frame fit all devices, but I have tried everything now and it doesn’t seem to work. It’s so frustrating to deal with this so much. Please lmk if you have any idea of a fix for this issue.



Thanks in advance :slight_smile:

By the way, this would fit under Help and Feedback > Art Design Support
You need to make the Frame have a size of (1, 0, 1, 0) and remove the AspectRatioConstraint.
Since GUIs use a 0-1 scale, by setting both scale properties to 1 you are making the frame take up 100% of the screen size. You also need to remove the constraint because not all screens have the same aspect ratio.
Hope that helped you!

1 Like