diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml index e0b219098..255ec18f0 100644 --- a/plasmoid/package/contents/ui/main.qml +++ b/plasmoid/package/contents/ui/main.qml @@ -1126,16 +1126,16 @@ Item { anchors.horizontalCenter: !root.vertical ? scrollableList.horizontalCenter : undefined anchors.verticalCenter: root.vertical ? scrollableList.verticalCenter : undefined - width: root.vertical ? maxSize : icList.width - height: root.vertical ? icList.height : maxSize + width: root.vertical ? maxThickness : icList.width + height: root.vertical ? icList.height : maxThickness target: icList visible: root.dragAreaEnabled - property int maxSize: (parabolic.local.lastIndex>=0 || windowPreviewIsShown || animations.hasThicknessAnimation) ? - (parabolic.factor.maxZoom * metrics.totals.thickness) + metrics.margin.screenEdge : - metrics.totals.thickness + metrics.margin.screenEdge + property int maxThickness: (parabolic.local.lastIndex>=0 || windowPreviewIsShown || animations.hasThicknessAnimation) ? + (parabolic.factor.maxZoom * metrics.totals.thickness) + metrics.margin.screenEdge : + metrics.totals.thickness + metrics.margin.screenEdge function onlyLaunchersInList(list){ return list.every(function (item) { @@ -1244,8 +1244,8 @@ Item { anchors.horizontalCenter: !root.vertical ? parent.horizontalCenter : undefined anchors.verticalCenter: root.vertical ? parent.verticalCenter : undefined - width: !root.vertical ? contentWidth : mouseHandler.maxSize - height: root.vertical ? contentHeight : mouseHandler.maxSize + width: !root.vertical ? contentWidth : mouseHandler.maxThickness + height: root.vertical ? contentHeight : mouseHandler.maxThickness boundsBehavior: Flickable.StopAtBounds orientation: plasmoid.formFactor === PlasmaCore.Types.Vertical ? Qt.Vertical : Qt.Horizontal delegate: Task.TaskItem{