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

css "vertical-align:middle;" does not work correctly

    XMLWordPrintable

Details

    • All, Windows

    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();
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            WenJie zhaowenjie
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes