System tray icon sizes

Marco Martin notmart at gmail.com
Mon Sep 22 08:13:27 UTC 2014


On Sunday 21 September 2014, Kai Uwe Broulik wrote:
> > Btw, since we are refining systray icons, do they work also on a size of
> > 22x22(if not I'll fix the code)? I would love to get rid of the old hack
> > of 24x24, that is just a remnant of the xembed legacy icons
> 
> Is that the reason why even if I use units.roundToIconSize on the
> batterymonitor the icon still resizes at different thresholds?

yes, probably. IconItem has a case for both 22x22 and 24x24, as a workaround 
on the fact most icons used to be 24.
i can either add it to units as well, or just remove it (should probably use 
the same function to round as well)

-- 
Marco Martin


More information about the Plasma-devel mailing list