Commit 6e5944df authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

Fix horizontal alignment of unwrapped text in TextEdit.


When the actual width of the text in a QTextDocument exceeds the
specificed textWidth it is aligned left irregardless of the text
alignment.  Compensate by doing our own alignment of the laid out
document.

Change-Id: I7df900316ffb3ecdf01ddb053480a60a8258182d
Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
parent 80dd8248
Showing with 139 additions and 71 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment