Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
4.7.1
-
None
Description
textHeight or contentHeight would be better - the TextEdit API has no notion of painted, which in any case is a more imperative QPainter concept. Would be better to use text or content.
paintedHeight gives also the false impression that it represent only the visible part of the text, while it's actually reporting (and documented to report) the full height of the content
Attachments
For Gerrit Dashboard: QTBUG-15160 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
13766,4 | Add contentWidth and contentHeight properties to Text elements. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
402749,6 | Replace paintedWidth/Height with contentWidth/Height | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
402813,2 | Replace paintedWidth/Height with contentWidth/Height | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
402834,1 | Replace paintedWidth/Height with contentWidth/Height | 6.2 | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |