on xenial help sign in
fix top/bottom with OSK
commit6849f07732fc02bd82317163f48c32d7867eba07 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 23 Sep 2015, 01:03 (11 years ago) parent4e9a7ba
1 file changed+2−3
qml/Wizard/Page.qml+2−3
qml/Wizard/Page.qml+2−3
@@ -203,7 +203,7 @@ Item {
203203 top: titleRect.bottom
204204 left: parent.left
205205 right: parent.right
206− bottom: buttonBarVisible ? buttonRect.top : parent.top
206+ bottom: buttonBarVisible ? buttonRect.top : parent.bottom
207207 leftMargin: content.animatedMargin
208208 rightMargin: -content.animatedMargin
209209 topMargin: content.animatedTopMargin
@@ -216,10 +216,9 @@ Item {
216216 id: buttonRect
217217 visible: !lastPage && buttonBarVisible
218218 anchors {
219− bottom: parent.bottom
219+ bottom: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.top : parent.bottom
220220 left: parent.left
221221 right: parent.right
222− bottomMargin: Qt.inputMethod.keyboardRectangle.height
223222 }
224223 height: buttonBarHeight
225224 color: "#f5f5f5"