Display a custom ellipsis when text is elided
-
Hi! I know there is a way to set the elide mode for a QString to display an ellipsis ("...") when there is not enough space to contain the entire length of the text. Is there a way to change the default ellipsis symbols displayed though? Based on my research so far, there is nothing in the framework to change it, but I might be wrong - do you know if there is a way to achieve that? I took a look at the Elided Label Example which does not answer my question.
-
@szumial The text engine uses the ellipsis character from the unicode set (U+2026). If the font used doesn't have it the "..." text is used and it's hardcoded. So the only exposed way to customize it is to use a font with a custom ellipsis character.
-
@Chris-Kawa Thanks for the quick reply! It might be helpful, I will think whether I can use it to my advantage.