TextLabel TextTruncate Not Working As Expected

When using a TextLabel with text, and setting the TextTruncate property to “AtEnd”, it still truncates text where the size of the TextLabel is equal to TextBounds.

Example where this issue is occurring:

image

Example of where this issue isn’t occurring:

image
I’ve had to add 11 pixels to the X axis to make the text appear.

Tested with both the SciFi font, and SourceSans, and the same issue still occurs.

Text truncating should only occur when the text exceeds the TextLabel’s TextBounds. This is hindering some of my UI work, as I’m having to add on some pixels to the TextLabel’s size to make the entirety of the TextLabel’s text appear.

3 Likes

Thanks for reporting this! This was already reported internally, but I’ve re-raised the issue. Our text truncation algorithm has some known flaws, and unfortunately this is one of them. We’ll try to take a look at resolving this soon.

3 Likes

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