Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
4.6.0, 4.7.4
-
None
-
Windows XP SP3, Qt 4.6.0, Qt 4.7.4, MinGW with GCC 4.4.0
Description
The horizontal alignment is ignored when custom delegate draws HTML content by QTextDocument::drawContents() function. Hovever, QTextEdit draws it right.
Also, to draw HTML contents, I tried to use QAbstractTextDocumentLayout, but nothing has changed.
In the attachment you will find example project and bug screenshots.