Fix right aligned cursor position in TextInput with geometry changes
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>
Wed, 13 Jun 2012 11:51:00 +0000 (14:51 +0300)
committerQt by Nokia <qt-info@nokia.com>
Mon, 25 Jun 2012 01:19:10 +0000 (03:19 +0200)
commitfd754674d04625ebf254ce2a96cbe39b3d7652d8
tree5aa2f8057c389bad01b9ce24aa345b41b6ca3877
parent2c4595ad02ff35011c24ea71c193d5a9710bec30
Fix right aligned cursor position in TextInput with geometry changes

Updating the text layout cannot be omitted with NoWrap because line width
needs to be updated even with empty content.

Change-Id: Ia9b168d6cfe7680cc1c9e7fa641ce7528d2b6d5e
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/quick/items/qquicktextinput.cpp
tests/auto/quick/qquicktextinput/data/horizontalAlignment_RightToLeft.qml
tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp