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

How to make a square Gui that scales with the screen?

I am trying to make a square settings buttons but the problem is that if I use offset it will appear small in big screens and big in small screens scaling does not work because it could appear square in my screen but rectangle in another type of screen, I tried all the ui constraints but none of them helped I am starting to realize i would probably have to script it.

1 answer

✓ Accepted answer

You should consider AutoScale, it can be used to scale your Gui elements properly.

If your settings button is an ImageLabel, you can set the ScaleType to Enum.ScaleType.Fit

1 comment

0

Ty this works and solves my issue

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