Commit eca12673 authored by Marco Martin's avatar Marco Martin

correct space left for keyboard

parent 5c120859
......@@ -71,7 +71,7 @@ Rectangle {
}
ColumnLayout {
height: Math.min(implicitHeight, (plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height) - Qt.inputMethod.keyboardRectangle.y)
height: Qt.inputMethod.keyboardRectangle.height > 0 ? (Math.min(implicitHeight, Qt.inputMethod.keyboardRectangle.y - plasmoid.availableScreenRect.y)) : implicitHeight
anchors {
left: parent.left
right: parent.right
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment