Is there any other way than to edit the CSS to correct icon sizes?

Several of the system tray icons in Xfce do not scale correctly. Notification and Pulseaudio both suddenly jump to full size icons if the panel height is more than 28 pixels, looking very weird compared to the other systray items that scale correctly.

I found a three year old post on the Xfce forums that just said “edit the CSS”. Which seems like the wrong kind of answer in the long run. Admittedly three years ago is basically just one release version ago, in Xfce terms, but…

So there is the panel preferences, appearance that has Icons …adjust size automatically. Then there is notification area that has maximum icon size (px) Also square icons or not.
Have you tried those settings?

Yes. But the notification plugin does not care about those settings.
Edit: because the notification plugin is NOT part of the systray, apparently.

Edit the second: I removed the notification plugin. The pulseaudio plugin, which also don’t scale correctly, doesn’t look bad until you go over 34px, so I can leave that.

1 Like

The notification area (system tray) ignores panel icon size settings, but you can set it up in it’s own setting screen: