From eca12673b424db97eb80e7333d7720d9679d6399 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 9 Jul 2015 18:10:33 +0200 Subject: [PATCH] correct space left for keyboard --- containments/homescreen/package/contents/ui/KRunner.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containments/homescreen/package/contents/ui/KRunner.qml b/containments/homescreen/package/contents/ui/KRunner.qml index 05c2b941..86edd415 100644 --- a/containments/homescreen/package/contents/ui/KRunner.qml +++ b/containments/homescreen/package/contents/ui/KRunner.qml @@ -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