You are not logged in.
When <click> attribute added to a genmon module, it adds some margin to the icon. Can we avoid this margin?
Screenshots to understand my problem better:
genmon module showing weather without <click> attribute:
genmon module showing weather with <click> attribute:
Notice the weather icon (cloud icon) is taking more space in second image in which <click> attribute is added.
Last edited by njkevlani (2019-07-13 11:42:23)
Offline
Great plugin this one....
I'll assume you are using the GTK3 version of the plugin. You can use a negative margin value like this:
.genmon_value {margin-left: -7px;}
If you want it to affect only one instance of the plugin, prepend the config entry with the name of the plugin:
#genmon-10 .genmon_value {margin-left: -7px;}
Note: the '#' is not a comment but a GTK3 widget ID indicator.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
Worked like a charm as always!
Thanks @Toz
For those, who are facing this kind of situation and wondering where to put this CSS, you need to put this CSS in gtk.css which is located at
~/.config/gtk-3.0/gtk.css
Offline
[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 523.85 KiB (Peak: 524.7 KiB) ]