summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2016-01-07 01:35:05 +0100
committerGravatar Sebastian Kügler <sebas@kde.org>2016-01-07 01:36:15 +0100
commitcff0a703e89415c4ad8ab3e076815ce5893a421a (patch)
treeb71ae6915b452835d08420e81fd3ac54d6a782c4 /qt-mobile
parent95bca4b50c4fd46ae190ac87ea8934523881b776 (diff)
downloadsubsurface-cff0a703e89415c4ad8ab3e076815ce5893a421a.tar.gz
sync with mobilecomponents 462b2b4
- 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 <sebas@kde.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/mobilecomponents/ApplicationWindow.qml3
1 files changed, 1 insertions, 2 deletions
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: {