How would I autoset my scrolling frame canvas size and text label size?

So I am using a scrolling frame, with a canvas size of 0,0,1,0. I want it so players can only scroll if there is any text that way. If I try to do it with scripts, the size of my text label gets messed up because the size of the text label is 1,0,.1,0. This means there are 10 in the whole canvas, but I want the size of the text lavel to stay the same while the canvas size increases.

2 Likes

Sorry, it’s really hard to understand what you’re asking for. If you want to FontSize to stay the same, you can turn off the TextScaled property. If you still want to keep scaling, you may be looking to set up a UITextSizeConstraint to limit how large it gets.