UI fit while staying proportional on all screens

  1. What do you want to achieve? I want my ui to be comfortable to use for all devices while size always stays proportional.

  2. What is the issue? My ui is too big on mobile devices:


  3. What solutions have you tried so far? I tried downscaling ui, but it made it too small on big screens. I also tried converting size to scale, but as i mentioned I want size to stay proportional at all time.

I honestly hate making ui, and problems like these make it just worse. I searched the whole devforum and found nothing about my problem.

Edit: i need to fix the problem as soon as possible so please help

you can show the AnchorPoint and Position settings?

yeah sure, here
image

You need to use Scale for Size, otherwise UIAspectRatio won’t work properly

1 Like

The size of your frame is 1/5 of the length of the screen, and the height is 1/2
Size: {0.2, 0, 0.5, 0}

1 Like

Wait, I didn’t even know there was such a thing as UIAspectRatio. I’m so dum :person_facepalming:
Thank you so much!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.