Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | DyFric |
I have an ItemList populated with small texts that sometimes are too long for their available space.
I’ve set the ItemList’s OverrunBehavior as either
- OVERRUN_TRIM_ELLIPSIS
- OVERRUN_TRIM_WORD_ELLIPSIS
but I couldn’t find a way to define where in the text is the ellipsis placed beyond default (the end). Am I missing something?
To elaborate: various groups of my items share a common prefix, so I’d rather set the ellipsis a few characters after the beginning of each text.
I had a look at the TextServer API but could not figure yet if that is possible. Is there a way to hook the ellipsis calculation?
Cheers