How can I make a text label in a scrolling frame scrollable?

So for my game, I have a UI with a TextLabel inside of a scrolling frame. I basically just want the scrolling frame’s canvas to resize (so that the scroll bar appears) whenever the text in it goes beyond the available area in the text label. How would I go about doing this? The picture below shows the problem I’m having. The text just gets cut off when it goes beyond it’s allotted area. Also, the text is not scaled.

hi

You could make it so only the text is in the frame.

Signed.
Kieranl29 Founder of D&R Studio and Dev forum helpers

That is how it is already. The part highlighted in the pic is the scrolling frame with only a single
TextLabel in it.

First set your ScrollingFrame CanvasSize to 0, 0, 0, 0. Then set AutomaticCanvasSize to Y and insert your TextLabel inside the ScrollingFrame, scale it to 1, 0, 1, 0 and set AutomaticSize to Y.

There is probably a better method to do this though.

4 Likes

Insert the text into a scrolling frame and your done.