Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.4
-
None
Description
Test case: resize the window width until the text starts wrapping. The image does not wrap to next line in StyledText mode.
Test code:
Rectangle { id: main width: 1000; height: 480 focus: true color: "#dedede" Text { anchors.centerIn: parent width: parent.width font.pointSize: 14 wrapMode: Text.WrapAnywhere // textFormat: Text.StyledText textFormat: Text.RichText property string theTag: "<img src=\"images/face-smile.png\">" text: "தமிழ்நாட்டில்" + theTag + "தமிழ்நாட்டில்" // text: "aaaaaa" + theTag + "bbbbbb" }
Seems to work fine with Text.RichText, but not with Text.StyledText. The Text.WordWrap works correct with Text.StyledText