From cff0a703e89415c4ad8ab3e076815ce5893a421a Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Thu, 7 Jan 2016 01:35:05 +0100 Subject: sync with mobilecomponents 462b2b4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixes blank pages when keyboard shows up, the margin computation was wrong, and apparently we get bogus info about the keyboard geometry. Signed-off-by: Sebastian Kügler --- qt-mobile/qml/mobilecomponents/ApplicationWindow.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qt-mobile/qml') diff --git a/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml b/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml index 8926b0574..c57afb6da 100644 --- a/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml +++ b/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml @@ -60,8 +60,7 @@ ApplicationWindow { id: __pageStack anchors { fill: parent - bottomMargin: Qt.inputMethod.visible ? (root.y + root.height) - (Qt. -inputMethod.keyboardRectangle.y) : 0 + bottomMargin: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0 } focus: true Keys.onReleased: { -- cgit v1.2.3-70-g09d2