Fix vertical offset of TextInput.positionToRectangle.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 3 Feb 2012 02:36:10 +0000 (12:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Feb 2012 07:28:35 +0000 (08:28 +0100)
commit4cd28a7f8c6abb7a33d19b0c87152d85370373d1
treec08812b24c97f04824f8fce1844c5235772af312
parent5260a562a96ddab77ec22693997e2c784e3b6613
Fix vertical offset of TextInput.positionToRectangle.

Offset the y value of the rectangle by the vertical scroll and line
offset.

Task-number: QTBUG-23934
Change-Id: I43815b480f43a089a9a03b0aec32dfc0598b6154
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquicktextinput.cpp
tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp