on xenial help sign in
extending the scrollable area if the keyboard is present
commit628cad6dd750feca0a4236333487dea184677cd8 authorDiego Sarmentero <diego.sarmentero@gmail.com> dateTue 17 Sep 2013, 11:18 (13 years ago) parent0eb380d
1 file changed+2−1
Dash/DashPreview.qml+2−1
Dash/DashPreview.qml+2−1
@@ -20,6 +20,7 @@ import Ubuntu.Components 0.1
2020Rectangle {
2121 id: root
2222
23+ property int keyboardSize: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0
2324 property var previewData
2425
2526 property string title: ""
@@ -131,7 +132,7 @@ Rectangle {
131132 anchors.top: parent.top
132133 anchors.bottom: parent.bottom
133134 width: root.narrowMode ? contentRow.width : contentRow.width * root.previewWidthRatio
134− contentHeight: leftColumn.height
135+ contentHeight: leftColumn.height + root.keyboardSize
135136 clip: true
136137
137138 Column {