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>
This commit is contained in:
Sebastian Kügler 2016-01-07 01:35:05 +01:00
parent 95bca4b50c
commit cff0a703e8

View file

@ -60,8 +60,7 @@ ApplicationWindow {
id: __pageStack id: __pageStack
anchors { anchors {
fill: parent fill: parent
bottomMargin: Qt.inputMethod.visible ? (root.y + root.height) - (Qt. bottomMargin: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0
inputMethod.keyboardRectangle.y) : 0
} }
focus: true focus: true
Keys.onReleased: { Keys.onReleased: {