Commit 12f0663d authored by Yann Bodson's avatar Yann Bodson Committed by Qt by Nokia
Browse files

Fix font size calculation in headings in StyledText.


Calculate the font size correctly even when the size is specified
in pixels and update this size when the font changes.
Also make sure that the text layout's font is set before parsing.

Task-number: QTBUG-24458

Change-Id: Ida7723f6e4f4b9fd3a6878076f4beaf5bda8f7f7
Reviewed-by: default avatarAndrew den Exter <andrew.den-exter@nokia.com>
parent a0854650
Showing with 228 additions and 81 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment