Can't fit the surface GUI correctly

Please respect that I’m not a pro-GUI designer, my main thing is scripting.
I’m trying to fit a TextLabel on a large part, usually, the surfacegui scales it correctly, but, this is happening…

2 Likes

in the size you will probably see something like this:

{200,0,50,0} (0,0,0,0}

if you open the size to specifics, you will see offset and scale, use scale to define the size in % of the total size

All you need to do is change the TextLabels Size to 1,0,1,0 and it will fit the entire screen. How sizing/scaling works is it has four variables, X Scale, X Offset, Y Scale, Y Offset. To script this, you simply need to change this variable. Here’s a link that should help you learn more about Scale & Offset.

3 Likes

Thanks for your help! I really appreciate it!

2 Likes