If TextTruncate is AtEnd, and the text is truncated, the ellipsis is not considered when horizontally aligning text

This is easiest to explain by example:

image

These are all default TextLabel instances with the text “bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla”.

  1. TextXAlignment = Left, TextTruncate = None (correct)
  2. TextXAlignment = Left, TextTruncate = AtEnd (correct)
  3. TextXAlignment = Center, TextTruncate = AtEnd (incorrect, note how the text is centered while the ellipsis isn’t considered as there’s more whitespace on the left — text should be shifted left by half the ellipsis its width)
  4. TextXAlignment = Right, TextTruncate = AtEnd (incorrect, note how the text is right-aligned while not considering the ellipsis as the elipsis is drawn outside of the TextLabel — text should be shifted back by the full ellipsis its width)
18 Likes

Hi @Den_S - thanks for providing the details of this issue! We’ve created a ticket to investigate.

5 Likes