diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-05-25 16:02:41 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 08:54:52 +0200 |
commit | fbc66c4f42c23fdcec999d374018dff969f77140 (patch) | |
tree | 76504ada3cf740ba50d1b9c83ba7e2f5c3ed1fdb /tests/auto/quick/qquicktextinput/data | |
parent | fd94887439dcc65ce30feda13ff8cbf0e30321db (diff) |
Update the cursor rectangle when password echo timer expires.
Ensures the cursor is positioned correctly is if the echo mask glyph
has a different width to the character it replaced.
Change-Id: I924234d4ae29cbb2e61638918005fcc3dc230993
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquicktextinput/data')
-rw-r--r-- | tests/auto/quick/qquicktextinput/data/echoMode.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextinput/data/echoMode.qml b/tests/auto/quick/qquicktextinput/data/echoMode.qml index f8a6cf1c89..94e0a0e3a7 100644 --- a/tests/auto/quick/qquicktextinput/data/echoMode.qml +++ b/tests/auto/quick/qquicktextinput/data/echoMode.qml @@ -6,6 +6,10 @@ Rectangle { width: 400; height: 200; color: "green" TextInput { id: input; focus: true + width: 400; height: 200 text: "ABCDefgh" + cursorDelegate: Rectangle { + objectName: "cursor" + } } } |