ubuntu / gnome-shell-extension-appindicator

Adds KStatusNotifierItem support to the Shell
https://extensions.gnome.org/extension/615/appindicator-support/
GNU General Public License v2.0
1.16k stars 155 forks source link

Don't use fixed size for icons #134

Open andia89 opened 6 years ago

andia89 commented 6 years ago

Some indicators (like indicator-systemload) are not using icons but only text. In Ubuntu Unity there is a simple "hack" that can be used to show only text (like the cpu-load or download speed) without any icon (saves space). The trick is to use a 1px wide, empty svg icon. Unity doesn't use a fixed width but uses the width of the provided icon (from the theme or directly from the app).

Since all (or at least almost all) icon themes provide square icons for the panel anyways, wouldn't it be possible to use the width of the icon itself (like in Unity) instead if fixing it to a fixed size, because it these indicators showing up an empty box where this icon is supposed to be

andia89 commented 5 years ago

This is actually fixed by #144 , please merge this one?

Bernmeister commented 5 years ago

@wa4557 : Unfortunately #144 was closed; hopefully it is picked up again as this issue applies also to Indicator Sysmonitor.