Sizing Guis To Parts

For a long time, I haven’t been tampering with guis so I forgot how most of it works. Does anyone else recall how to “automatically size” text labels? (This is for surface guis) Eg. When I change the size of a part all of the guis’ sizes will also change to match the part.

Setting the SurfaceGui x and y scale size to 1 will cover the whole face of a part.

What is the property called? I don’t see a scale size…

Sorry, set the size of whatever your gui object is to 1, 0, 1, 0
also make sure its inside the surface gui

image
you can change the scale to one and it will cover the whole face

3 Likes

This sizes the textLabel, is there a way to do this for the text itself as well?

I am doing this to go over the 100 text size limit

in text propierties you can toggle “Text Scaled”

I checked it, but it still stays the same…

Well, the text shrinks when the textlabel gets too small, but it doesn’t go over the 100 text size limit

i didn’t knew there was a limit, but apparently if you toggle “RichText” it works

1 Like

Unfortunately, I don’t think you can because the text bounds are at their max which is the smallest size axis of the part for instance, the size of a part is 10, 2, 10 the text size bounds which aren’t available to you would be 2.