How do I resize a textlabel based on how many line it has?


As you can see here, the textlabels are not sized correctly, how do I fix this?

Use TextService:GetTextBoundsAsync. It returns a Vector2 which you can use to size your label.

1 Like

I fixed it myself, by just concat the text of the preplaced textlabel’s text and used richtext to color the text.

I’ll still mark your answer as the solution though

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.