-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate text wrapping in QgsTextDocumentMetrics
Fixes incompatibility between text wrapping and HTML text formatting, because currently the text wrapping is applied on the raw HTML and does not consider text sizes calculated from the HTML. This results in raw html content showing for layout item labels when the item box is too narrow and forces wrapping.
- Loading branch information
1 parent
91e9e06
commit bd3d972
Showing
2 changed files
with
169 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters