Open Zren opened 2 years ago
I've somewhat stepped down from my previous position and am instead betting on an "assemble-once" desktop model. That being said, this is undoubtedly cool and hopefully will mean more projects can support more precise customization. Here's the current use case for the button: https://www.pling.com/p/1735447/. Scaling may be more on a case-by-case basis since in this example, I'm trying to match it with the other icons. Not sure.
Right now, we workaround the blurry icons by providing
presentwindows-16.svg
,presentwindows-22.svg
, andpresentwindows-24.svg
. However we should not be scaling these icons unless they are larger than, say, 32px. This is how KIconTheme handles normal icons.The
PlasmaCore::IconItem
andPlasmaCore::Svg
support loading multiple icon sizes from different elements in an svg. Most svg icons in the Breeze desktoptheme contain#amarok
and#22-22-amarok
. There's probably magic somewhere inPlasmaCore::Svg
to select#22-22-amarok
.I'm trying out this code in
AppletIcon.svg
. I still need to consider HiDPI (2x) screens.