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

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

    XMLWordPrintable

Details

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

    Description

      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.

       

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes