Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15, 6.5, 6.8
-
-
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
For Gerrit Dashboard: QTBUG-130980 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
604911,2 | Don't count overflowing inline image height to previous line | dev | qt/qtbase | Status: MERGED | +2 | 0 |
604991,2 | Don't count overflowing inline image height to previous line | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
605170,2 | Don't count overflowing inline image height to previous line | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |