From 5af891ec8ed38c843e66bd8d35b4b273eeba672c Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Thu, 4 Aug 2022 13:16:46 +0300 Subject: [PATCH] effects/desktopgrid: Replace PlasmaCore.Units.largeSpacing with gridUnit It's broken and equal to a grid unit, all existing usages must ported one way or another. Using `smallSpacing * 2` (the intended value of largeSpacing) results in a gap that is too narrow to be consistent when scaled down between multiple desktops. --- src/effects/desktopgrid/qml/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/desktopgrid/qml/main.qml b/src/effects/desktopgrid/qml/main.qml index 3e1bc7c147..8d4992b48d 100644 --- a/src/effects/desktopgrid/qml/main.qml +++ b/src/effects/desktopgrid/qml/main.qml @@ -188,8 +188,8 @@ Rectangle { width: parent.width * columns height: parent.height * rows - rowSpacing: PlasmaCore.Units.largeSpacing - columnSpacing: PlasmaCore.Units.largeSpacing + rowSpacing: PlasmaCore.Units.gridUnit + columnSpacing: PlasmaCore.Units.gridUnit rows: container.effect.gridRows columns: container.effect.gridColumns transformOrigin: Item.TopLeft