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

QML TextEdit image is aligned vertically wrong when it is first object in richtext

    XMLWordPrintable

Details

    • 40ac5e74becfdfd60626cb78d2ed56d9871a33e8

    Description

      There's three different cases tested in attached example. Results are in picture.

      // two glued image objects in the beginning are vertically aligned similarly
              text: "<img src=\"green.png\"/><img src=\"green.png\"/>
      
      // space between we see images are vertically aligned differently
              text: "<img src=\"green.png\"/> <img src=\"green.png\"/>"
      
      // when image is not first object both are aligned correctly
              text: ".<img src=\"green.png\"/> <img src=\"green.png\"/>"
      

      Attachments

        1. texteditbug.png
          texteditbug.png
          17 kB
        2. texteditbug.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            poikelin Joni Poikelin
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes