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

There is a bug with line spacing when QLabel displays rich text.

    XMLWordPrintable

Details

    • All
    • 7b024cc17 (dev), c73cc95ba (6.8), 71818d08d (tqtc/lts-6.5)

    Description

      ui->label->setWordWrap(true);

      ui->label->setText("This is a QLabel with an image: 😂This is a QLabel with an image: <img src='qrc:/img/crm.png'> this is test😂");

       

       

      When QLabel displays rich text, if the window width changes, the line spacing of the text content becomes abnormal.

      Attachments

        1. 4101731058409_.pic.jpg
          4101731058409_.pic.jpg
          36 kB
        2. 4111731058420_.pic.jpg
          4111731058420_.pic.jpg
          34 kB
        3. 4121731058431_.pic.jpg
          4121731058431_.pic.jpg
          35 kB
        4. untitled33.zip
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            amos yang xiangyu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes