Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I properly scale my UI?

Hi!

I have a UI, and I want it to automatically scale itself as appropriate on different device resolutions. How do I do this please?

1 answer

In the size property of whatever GUI object you're editing, if you expand it you'll see a X & Y property, expand either one of those and you'll see Offset & Scale.

If your UI is scaled with Offset then it will remain at it's normal size, no matter what resolution you have. If it is scaled with Scale, for example if the Y Scale is 1 then it will be the same height as the resolution height. If X & Y scale is 1 then it will be the same size as the screen resolution.

Always make sure the GUI object size property is using scale, as it starts off with offset as default.

1 comment

0

Thanks. I'll check this out and get back to you.

This discussion is preserved as it was. New answers, comments, and votes are closed.