Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5
-
None
Description
Test code:
Text { font.pointSize: 14 wrapMode: Text.WordWrap textFormat: Text.PlainText // <--- if this is changed to RichText, the space in the " asgasg " is removed in the rendered text. text: " asgasg " }
And this :
"a asgasg "
is rendered as this:
"a asgasg ".
The spaces seem to be compressed.
If text is wrapped with HTML tags, then it seems it is allowed to compress the leading whitespace, but should show at least one space. But note that none of the test code actually uses html tags.
Attachments
Issue Links
- relates to
-
QTBUG-115285 Styled text vs Rich text white space before img tag
-
- Reported
-