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

QtQuick Text property contentHeight does not behave as expected

    XMLWordPrintable

Details

    • All
    • 7c751a57313ee2a2b4c6ca5a1815c03e3a589ff2 (qt/qtdeclarative/dev)

    Description

      When creating a QtQuick Text element with the property lineHeight set to a value not equal 1.0, the contentHeight is smaller than expected.

      TextcontentHeightBug.png is a screen shot of the window created by the example TextcontentHeightBug.qml. The borders in the screen shot have the height bound the contentHeight of the underlying text element. On the left text item (lineHeight: 1.0) the height of the green border is as expected. The height of the red border for the text item (lineHeight: 0.5) is too small.

      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
            reinhard_ R R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes