Properly sizing textlabel text

I’m trying to make a dialogue box for my game with text that fit within the box.
When I set the text size to 20, it’s fine but when there are more characters in the text it goes outside the box.
(Without TextScaled)

A simple solution would be to use scaled text, but that makes the text too big for smaller text, what should I do? (With TextScaled)

Ideally I want it to fit like this around this text size or smaller without leaving the textbox edges while using either using textscaled or not
(Without TextScaled)

Another problem with nonscaled text is that on smaller devices they still run out of bounds…

ok so make the text scaled and enable text wrapping, but you can also put UI Padding on the text label, and change the top padding and bottom padding

1 Like

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