Mageia 7 KDE/plasma desktop icon spacing [SOLVED]

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Mageia 7 KDE/plasma desktop icon spacing [SOLVED]

Postby mla » Jul 4th, '19, 18:07

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);
Last edited by doktor5000 on Jul 5th, '19, 15:58, edited 1 time in total.
Reason: slightly changed subject
Posts: 292
Joined: Sep 16th, '11, 16:10

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

Postby doktor5000 » Jul 5th, '19, 16:00

Thanks for sharing, I've changed the subject slightly and moved this to the tips&tricks subforum.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
Posts: 16795
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest