diff options
author | Rainer Keller <rainer.keller@digia.com> | 2013-12-17 15:41:47 +0100 |
---|---|---|
committer | Rainer Keller <rainer.keller@digia.com> | 2014-01-16 14:05:11 +0200 |
commit | 1fe29f21f3d06d44ff5bdf22d68f1b52f0e25a1d (patch) | |
tree | d355762184d54767836f76cad06b4c1a9213ffa9 | |
parent | 76c8520c206259d86298d40ac20afdb0c6a9199c (diff) |
Use new virtual keyboard
Change-Id: I99c6658d5160a6b8fe0154813f75cba8e6a56fb1
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
-rw-r--r-- | basicsuite/Text Input/main.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/basicsuite/Text Input/main.qml b/basicsuite/Text Input/main.qml index 53593bf..5c068d9 100644 --- a/basicsuite/Text Input/main.qml +++ b/basicsuite/Text Input/main.qml @@ -48,11 +48,10 @@ Image { property real scrollMarginVertical: 20 - width: parent.width + anchors.fill: parent contentWidth: content.width contentHeight: content.height interactive: contentHeight > height - height: Qt.inputMethod.keyboardRectangle.y flickableDirection: Flickable.VerticalFlick children: ScrollBar {} @@ -62,10 +61,7 @@ Image { width: flickable.width height: textEditors.height + 24 - onClicked: { - if (Qt.inputMethod.inputItem) - Qt.inputMethod.inputItem.focus = false - } + onClicked: focus = true Column { id: textEditors |