Commit 5260a562 authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

Fix TextEdit vertical alignment.


Don't ignore the position of a QTextDocument when contructing a text
node, and translate the rectangle returned by positionToRectangle by
the y offset.

Task-number: QTBUG-23935
Change-Id: I55a2b69a32a8b623be7e36de54ad083c2f8591e5
Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
parent 5b9e19ff
Showing with 28 additions and 3 deletions
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