Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.0.1
-
None
-
Windows 7 (64-bit)
Visual Studio 2010
Description
Do:
- I added a QGraphicsTextItem to a scene.
- That QGraphicsTextItem has a QTextDocument that contains "first'Nbsp'second third".
- I used setTextWidth on the item to ensure the text needs to be wrapped.
See: - The text is wrapped between both 'first' and 'second' and between 'second' and 'third'.
Remarks: - Qt 4.8 does this correctly.
- Using QTextDocument::drawContents leads to the same result.
Attachments
Issue Links
- is replaced by
-
QTBUG-41713 QLabel wordwrap ignores non-breaking spaces
-
- Closed
-