@@ -43,7 +43,9 @@ LocalComponents.Page {
4343 anchors.rightMargin: parent.rightMargin
4444 anchors.topMargin: customMargin
4545
46− bottomMargin: Qt.inputMethod.keyboardRectangle.height
46+ bottomMargin: Qt.inputMethod.keyboardRectangle.height - height
47+
48+ Behavior on contentY { UbuntuNumberAnimation {} }
4749
4850 // info label
4951 Label {
@@ -82,6 +84,11 @@ LocalComponents.Page {
8284 objectName: "passwordField"
8385 echoMode: TextInput.Password
8486 onAccepted: password2Field.forceActiveFocus()
87+ onActiveFocusChanged: {
88+ if (activeFocus) {
89+ column.contentY = pass1Label.y
90+ }
91+ }
8592 }
8693
8794 // password 2
@@ -106,6 +113,11 @@ LocalComponents.Page {
106113 id: password2Field
107114 objectName: "password2Field"
108115 echoMode: TextInput.Password
116+ onActiveFocusChanged: {
117+ if (activeFocus) {
118+ column.contentY = pass2Label.y
119+ }
120+ }
109121 }
110122
111123 // password meter