Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Need elide to replace word



  • When using the Text widget I use the elide property and set it to "Text.ElideRight". I also set the width property. With this combination of setting the elide is added to the very end of the Text widget and may cut words in half. I need a way to completely remove words that won't fit and replace it with the ellipsis. Is this possible and if not how do I go about making this request.

    What I see:
    The quick brown fox ju...

    What I want to see:
    The quick brown fox...



  • There is no elide mode to provide this. You'll have to implement this yourself.


Log in to reply