Clamping TextLabels to a single line?

Is it possible to clamp text from textlabels to 1 line only?

I want these to look a tad bit more uniform.

1 Like

What if you turned off TextWrapped?

1 Like

I think that if you have Text Scaled on, then Text Wrapped is automatically on. If you want to clamp the text, then turn off Text Scaled (if you have it on).

2 Likes

There exists a whitespace character called a nonbreaking space that prohibits line changes after it.
To type it on Windows with a 10 key numpad, make sure numlock is on, hold alt, then type 255 in the numpad. I created a TextScaled TextLabel with the following words spaced out by standard whitespace characters:

The same TextScaled TextLabel with nonbreaking spaces in between the words:

More info on a nonbreaking spaces: Non-breaking space - Wikipedia

If you just want to copy-paste the character, select between the quotes and copy it: " "

5 Likes

Just turn text wrapped off
hope this helps also make sure the lineheight is 1

Yeah, but if you turn TextWrapped off, TextScaled is turned off as well. The dev might want TextScaled.

1 Like

Turning off Text Wrapped and Text Scaled are not good ideas, since I am using the same UI for all devices except XBOX (even then just doing a radial menu)

TextSizeConstraints?

30characters

1 Like