Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72736

Strange representation of Qml Text with elide, wrapMode and maximumLineCount properties

XMLWordPrintable

    • Linux/Wayland, Linux/Other display system, macOS, Windows
    • 82247946b2733bcd5bb3740a31c7d38fb90f6ddd (qt/qtdeclarative/dev)

      Hello, I faced with the next problem: representation of Qml Text with combination of elide (Text.ElideRight), wrapMode(Text.Wrap) and maximumLineCount(2) properties looks not correct.

      There is enough space for the second line at the right picture(wrapMode: Text.Wrap), but this line looks too short, elide is too aggressive.

      This doesn't satisfy our customer and we couldn't find any workaround.

       

      Check this out:

       

      Code sample is in attachment.

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            dmitrylisin Dmitry Lisin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes