Title, I have this scrolling frame with a textbox in it that I want to increase in size if the lines are out of the viewing area of the textbox. How can I do this?

Edit: Solved! Script-

if textBox.TextFits == false then
	repeat
		wait()
		textBox.Size = textBox.Size + UDim2.new(0, 0, 0, textBox.TextSize)
	until textBox.TextFits == false
end

4 comments

0

Not a request site!

0

I wasn't asking for the script, I was asking for what functions would do what I want, I apologize if I wasn't clear on that, regardless, I solved it and will post the script soon.

0

You should use http://wiki.roblox.com/index.php?title=API:Class/TextService/GetTextSize instead (didn't post an answer because you probably won't care)

0

Thanks, i'll keep that in mind for next time