Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2
-
None
Description
See the 3rd line in the screen shot. Styled text ignores the space before "img" tag.
Test code:
Column { Text { textFormat: Text.StyledText text: "Default <img src=\"images/face-smile.png\"> align <img src=\"images/face-smile-big.png\">" } Text { textFormat: Text.StyledText // images from bindings property string img1: "<img src=\"images/face-smile.png\">" property string img2: "<img src=\"images/face-smile-big.png\">" text: "Default " + img1 + " align " + img2 + "(using bindings)" } Text { textFormat: Text.StyledText text: "Default<img src=\"images/face-smile.png\">align<img src=\"images/face-smile-big.png\">" } }
Attachments
Issue Links
- relates to
-
QTBUG-114328 RichText & StyledText does not respect leading space
-
- Reported
-