diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-05-03 13:03:29 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-03 07:04:03 +0200 |
commit | bf817782e6dfeb8455febe3e481bcdb4c383ed05 (patch) | |
tree | 7a11212363658422216dfa6d2b1f6a95ce5d7dee /tests/auto/quick/qquicktextinput/data | |
parent | ccd69247eaa6289bc31115f863ba4737b14fe34e (diff) |
Ensure the cursor rectangle is updated when preedit text changes.
Updating only when the cursor position changes isn't enough because
changing pre-edit text changes the width of the pre-edit area and
the x offset of all cursor positions within it.
Change-Id: I3c0a5e4ad4714a903ca84c1a25374491f34d95a0
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquicktextinput/data')
-rw-r--r-- | tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml b/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml index 907ea68b10..9e04620d8f 100644 --- a/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml +++ b/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml @@ -1,6 +1,7 @@ import QtQuick 2.0 TextInput { + width: 300 focus: true autoScroll: false |