The ui isn’t scaling properly and I don’t know why

Even though the UI is scaled properly and fitted to all devices, In game they are all miss placed.

This is an example of how it is and an auto scale Lite plugin has been used to help scale all UI across all devices

image
image

3 Likes

could you give an example of what its supposed to look like?

2 Likes

Just the UI needs to be aligned and not overlapping with each other

1 Like

ok , you said

are they not misplaced in studio?

2 Likes

Make sure the buttons/frames have their offset set to 0.

3 Likes

They are good in studio but not game

1 Like

They are all set to 0 but still nothing has been changed

1 Like

Now that’s… weird.
Didn’t you forget to publish the changes ?

2 Likes

The changes has been published still the same

1 Like

Is the game accessible to everyone ? Maybe I can visit it and see if it looks odd for me.

2 Likes

Is this your problem? maybe?

2 Likes

It’s private, I can give u a role in the group to have access

1 Like

Okay, can you send the group ?

1 Like

Do not use Autoscale Lite. It is a wasteful plugin that does things you can do yourself in 30 seconds.

A UIAspectRatioConstraint can be used to get the GUI to scale coherently and precisely on all devices without affecting it’s actual position in the preview. However, the AspectRatio (found in the Behavior tab) must be manually tuned to precise increment (I.e messing around with the number variable until it just works ¯|(ツ)/¯ .) In my case, I had to set my AspectRatio to 0.3499 (which automatically rounds up to 0.35 but just inserting 0.35 won’t work for some reason.)

Also, please use the View tab. It has a section called Devices that will allow you to see your GUI on other displays. That’s most likely why it looks weird in game (Or, because your GUI organization is slightly messy.)

1 Like