mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
correct space left for keyboard
This commit is contained in:
parent
5c120859a7
commit
eca12673b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue