Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.2, 6.7.0
-
msvc2015 64bit Qt5.12.2
Description
when I use the style( style="vertical-align:middle;") in the html file. which render correct in webbrowser, but not correct in the Qt.
QML project in texteditor.zip. Widget example in qtbug76662.zip.
For example, this does not vertically align the smiley face in Qt:
QLabel lbl("Hello world <span style='font-size: 60pt; vertical-align: middle'>🙂</span> hello world.");
lbl.setTextFormat(Qt::RichText);
lbl.show();