Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.8
-
None
-
-
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
For Gerrit Dashboard: QTBUG-88229 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
320835,3 | Correct height properties for QQuickText with reducing lineHeight | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
323618,1 | Correct height, implicitHeight and contentHeight for QQuickText with reducing lineHeight | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |