elementary / wingpanel

Stylish top panel that holds indicators and spawns an application launcher
https://elementary.io
GNU General Public License v3.0
136 stars 45 forks source link

Distance between indicators #264

Closed lesthack closed 4 years ago

lesthack commented 4 years ago

I like wingpanel, but, honestly, i think that distance between indicators is very large. So, I wish could change this:

From: default

Like that: after

ernstki commented 4 years ago

It seems likely that you're experiencing an issue with the default styling of indicator-application, which is not part of Wingpanel, and not supported by the elementaryOS developers anymore.

You might've followed the instructions from here (as I did) for restoring third-party panel indicators, using the standard Ubuntu indicator-application plus an old .deb of wingpanel-indicator-ayatana.

For what it's worth, you can fix the spacing of the indicator-application icons by adding a simple GTK3 CSS style to $HOME/.config/gtk-3.0/gtk.css:

/* source: https://github.com/mdh34/elementary-indicators/issues/1 */
.composited-indicator {
    padding: 0 2px;
}

…then either log out and back in or killall wingpanel.

The issue where I found this solution (in part, anyway) suggests editing /usr/share/themes/elementary-x/gtk-3.xx/apps.css, but that path seems to be outdated, and it's just not necessary to edit the theme's CSS directly (as root). Just creating an override in gtk.css in your home directory seems to suffice.

lesthack commented 4 years ago

@ernstki thank you, adding the css style works.