on xenial help sign in
extending the scrollable area if the keyboard is present
628cad6Diego Sarmentero
Dash/DashPreview.qml+2−1
@@ -20,6 +20,7 @@ import Ubuntu.Components 0.1
20Rectangle {
20Rectangle {
21 id: root
21 id: root
22
22
23+ property int keyboardSize: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0
23 property var previewData
24 property var previewData
24
25
25 property string title: ""
26 property string title: ""
@@ -131,7 +132,7 @@ Rectangle {
131 anchors.top: parent.top
132 anchors.top: parent.top
132 anchors.bottom: parent.bottom
133 anchors.bottom: parent.bottom
133 width: root.narrowMode ? contentRow.width : contentRow.width * root.previewWidthRatio
134 width: root.narrowMode ? contentRow.width : contentRow.width * root.previewWidthRatio
134− contentHeight: leftColumn.height
135+ contentHeight: leftColumn.height + root.keyboardSize
135 clip: true
136 clip: true
136
137
137 Column {
138 Column {