diff options
author | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2012-06-13 14:51:00 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-25 03:19:10 +0200 |
commit | fd754674d04625ebf254ce2a96cbe39b3d7652d8 (patch) | |
tree | 5aa2f8057c389bad01b9ce24aa345b41b6ca3877 /tests/auto/quick/qquicktextinput/data | |
parent | 2c4595ad02ff35011c24ea71c193d5a9710bec30 (diff) |
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>
Diffstat (limited to 'tests/auto/quick/qquicktextinput/data')
-rw-r--r-- | tests/auto/quick/qquicktextinput/data/horizontalAlignment_RightToLeft.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicktextinput/data/horizontalAlignment_RightToLeft.qml b/tests/auto/quick/qquicktextinput/data/horizontalAlignment_RightToLeft.qml index d14caea619..cf092509b4 100644 --- a/tests/auto/quick/qquicktextinput/data/horizontalAlignment_RightToLeft.qml +++ b/tests/auto/quick/qquicktextinput/data/horizontalAlignment_RightToLeft.qml @@ -16,7 +16,9 @@ Rectangle { TextInput { id: text objectName: "text" - anchors.fill: parent + anchors.left: parent.left + anchors.top: parent.top + width: 180 text: top.text focus: true |