Size TextInput cursor correctly.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 9 Dec 2011 06:30:46 +0000 (16:30 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Dec 2011 06:05:45 +0000 (07:05 +0100)
commita1a4abe377045afee3b49639fd1e072a7cbd8e19
tree17f665c1057095173674f98fc3477e62211e893f
parentb156b5d8c313f3b3711b1da6e06768473db3cf12
Size TextInput cursor correctly.

Use the cursorRectangle property to size and position the TextNode's
cursor rather than recalculating the rectangle in an incompatible way.

Task-number: QTBUG-22386
Change-Id: I8ee02b590796b0304683b9b246aba1e59c1fd6a5
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/quick/items/qquicktextinput.cpp