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.
This commit is contained in:
ivan tkachenko 2022-08-04 13:16:46 +03:00
parent c7e156165d
commit 5af891ec8e
No known key found for this signature in database
GPG key ID: AF72731B7C654CB3

View file

@ -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