@@ -51,6 +51,11 @@ LocalComponents.Page {
51 anchors.rightMargin: parent.rightMargin
51 anchors.rightMargin: parent.rightMargin
52 anchors.topMargin: customMargin
52 anchors.topMargin: customMargin
54+ height: contentHeight - buttonBarHeight - Qt.inputMethod.keyboardRectangle.height - titleRectHeight
55+ contentHeight: childrenRect.height
57+ Behavior on contentY { UbuntuNumberAnimation{} }
56 id: nameLabel
61 id: nameLabel
@@ -70,6 +75,11 @@ LocalComponents.Page {
70 anchors.topMargin: units.gu(1)
75 anchors.topMargin: units.gu(1)
71 inputMethodHints: Qt.ImhNoPredictiveText
76 inputMethodHints: Qt.ImhNoPredictiveText
72 onAccepted: surnameInput.forceActiveFocus()
77 onAccepted: surnameInput.forceActiveFocus()
78+ onActiveFocusChanged: {
79+ if (activeFocus && Qt.inputMethod.visible) {
80+ column.contentY = nameLabel.y
75 // surname
85 // surname
@@ -93,6 +103,11 @@ LocalComponents.Page {
93 anchors.topMargin: units.gu(1)
103 anchors.topMargin: units.gu(1)
94 inputMethodHints: Qt.ImhNoPredictiveText
104 inputMethodHints: Qt.ImhNoPredictiveText
95 onAccepted: d.advance()
105 onAccepted: d.advance()
106+ onActiveFocusChanged: {
107+ if (activeFocus && Qt.inputMethod.visible) {
108+ column.contentY = surnameLabel.y