|
How would I detect if the text reached the end of the TextBox?
bamboozled again |
|
|
Check if TextFits is false |
|
|
But how would I found out where the text ends so I can make the frame's size end where the text ends?
bamboozled again |
|
|
|
It resizes my frame to (0, 0, 0, 0) :/
bamboozled again |
|
|
I resized it to TextBounds; I printed it and returns as two values; idk if scale or offset so I tried to resize the frame to that.. I failed
bamboozled again |
|
|
I think it returns the scale of the X and Y axis. |
|
|
But the text reaches the scale of 1; Shows the scale of 173
bamboozled again |
|
|
NiveumJoin Date: 2009-08-15 Post Count: 3437 |
TextBounds is given in Offset
~ S P I C Y ~ |
|
MescalyneJoin Date: 2017-04-20 Post Count: 418 |
TextBounds uses the not-often-used type Vector2. Hence if you want to resize to fit you'll need to use UDim2.new(0, tb.x, 0, tb.y) |
|
|
Is there any different way that I could do it with scale?
bamboozled again |
|