Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.7.0
-
659d5202f915b84bd22b618b0696bbe68ab4b6b0
Description
Be able to determine which font size is actually being used when Text.fontSizeMode is effectiveSize. This is useful to know because if you need to use the same size elsewhere for other purposes, and it is not possible to just replicate the same dimensions (since there may be more lines in use in the other case) then being able to determine which font size is actually used would be useful here.
Something like effectiveFontPointSize as a read-only property would be ideal as pointSize/pixelSize only give the maximum possible font size and not the one actually used.
Attachments
Issue Links
- duplicates
-
QTBUG-48070 Text: add effectiveFontPixelSize/effectiveFontPointSize
-
- Closed
-
For Gerrit Dashboard: QTBUG-51133 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
184005,4 | Add fontInfo property to Text | dev | qt/qtdeclarative | Status: MERGED | -2 | 0 |