Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

Log in to vote
2
Answered by 3 years ago
Edited 3 years ago

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

0
Ty this works and solves my issue Rayguyban2 89 — 3y
Ad

Answer this question