Page 1 of 1

Mageia 7 KDE/plasma desktop icon spacing [SOLVED]

PostPosted: Jul 4th, '19, 18:07
by mla
In case anybody else dislikes the greatly increased spacing between desktop icons, here's a solution:

As root, edit the file /usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderView.qml

On line 610 change the multiplier (at the end of the line) from 8 to 6, so that it reads
Code: Select all
var minIconWidth = Math.max(iconWidth, units.iconSizes.small * 6);


Similarly on line 625 change the multiplier 4, in the final component, to 3:
Code: Select all
var iconHeight = iconSize + (theme.mSize(theme.defaultFont).height * plasmoid.configuration.textLines) + (3 * units.smallSpacing);

Re: Mageia 7 KDE/plasma desktop icon spacing [SOLVED]

PostPosted: Jul 5th, '19, 16:00
by doktor5000
Thanks for sharing, I've changed the subject slightly and moved this to the tips&tricks subforum.