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

CSS line-height appears to be supported by rich text but isn't mentioned in documentation

    XMLWordPrintable

Details

    • 21ee3b17b746f6d2e0e59836dfc4b9d0587a6bec (qt/qtbase/5.14)
    • DaVinci sprint 1, DaVinci sprint 2

    Description

      I note the CSS property "line-height" appears to work as expected in QML rich text items, but isn't mentioned at all in the documentation:

      http://qt-project.org/doc/qt-5.1/qtgui/richtext-html-subset.html

      I've no idea whether the list there is intended to be or could ever hope to be complete, but line-height is important enough typographically I think it's well worth mentioning.

      Attachments

        1. lineheight.png
          lineheight.png
          43 kB
        2. lineheight.qml
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            veshivas Venugopal Shivashankar
            timday Tim Day
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes