Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Need elide to replace word
Forum Updated to NodeBB v4.3 + New Features

Need elide to replace word

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bundickt
    wrote on last edited by
    #1

    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...

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved