TextElement.Ellipsize property
Keep the text on ONE line and, when it is wider than the space the layout gives it, cut it with a trailing “…” so it fits — re-fitted whenever the string or the laid-out width changes (e.g. the window is resized). Use it in a width-constrained slot, typically a CellElement with a Weight in a RowElement next to fixed-width controls: the cell’s width is what the text is fitted to, and nothing spills onto the neighbours. Plain text is cut with “…” and clipped to its rect; styled (Emphasis/Bold/…) and RichEmoji text uses TextMeshPro’s own ellipsis (a hard cut if the face lacks the glyph). Ignored on Shadow and HUD-overlay text. Default false = unchanged. An init property (binary-compatible).
public bool Ellipsize { get; set; }See Also
Section titled “See Also”- record TextElement
- namespace Stellar.Abstractions.Services