diff --git a/lookandfeel/contents/windowswitcher/WindowSwitcher.qml b/lookandfeel/contents/windowswitcher/WindowSwitcher.qml index 245b46c69..83e43ad53 100644 --- a/lookandfeel/contents/windowswitcher/WindowSwitcher.qml +++ b/lookandfeel/contents/windowswitcher/WindowSwitcher.qml @@ -69,7 +69,7 @@ KWin.Switcher { delegate: MouseArea { width: thumbnailListView.width - height: delegateColumn.implicitHeight + 2 * delegateColumn.y + height: delegateColumn.height + 2 * delegateColumn.y onClicked: { if (tabBox.noModifierGrab) { @@ -93,7 +93,7 @@ KWin.Switcher { Item { Layout.fillWidth: true - Layout.preferredHeight: Math.round(width / tabBox.screenFactor) + implicitHeight: Math.round(delegateColumn.width / tabBox.screenFactor) KWin.ThumbnailItem { anchors.fill: parent