Open M3cubo opened 2 years ago
I'm struggling with something similar after switching from Nautilus to Nemo. The vertical distance between icons in Nemo is uncomfortably high, no matter the zoom level:
GTK theming is rather unapproachable for the uninitiated, and even after spending quite a while with GTK_DEBUG=interactive nemo
and looking at the Yaru theme (gresource extract /usr/share/themes/Yaru/gtk-3.0/gtk.gresource /com/ubuntu/themes/Yaru/3.0/gtk.css
), I can't figure out the setting.
As OP notes, .nemo-canvas-item
seems to only affect the text label.
A pointer to where the icon view padding can be adjusted would be appreciated.
Nemo version 6.0.2
There's no 'knob' for this stuff.
The spacing is currently hardcoded per zoom level for horizontal spacing. Vertical spacing is also affected by a couple of label settings.
(using dconf-editor)
[]
- this probably won't affect the zoom level in that screenshot, but it will for higher ones. You can also modify this from Edit->Preferences->Icon Captions.['1']
- this defines how many lines to reserve for filenames before ellipsizing (...).That helped with the vertical spacing. Thank you!
@donjan I actually up the zoom level a bit in Nemo from the default. At a larger zoom, the horizontal spacing is actually much better.
Resizing the window width by small amounts has a minor effect on horizontal inter-icon spacing.
Issue
I just wanted to know if I can increment the spacing between the folders when using the Icon View. (I know that I can change the size, but I'm referring to the margin between them -or, the padding in every one-)
This is the default space:
This is what I want:
I have been trying to declare rules in css in the file
~/.config/gtk-3.0/gtk.css
:The above code works, as it results in:
...But I cannot made changes relative to the size, or the padding, of the Item. I don't know if "nemo-canvas-item" affects only the label, or if the CSS class responsible for that is another one. Or maybe is a parent class which has some "display:grid" or something like that? I don't know. Also, didn't find documentation about this, except random codes like that one.
So, it is possible to change the spacing of the folders with these CSS rules?