System tray icon sizes

Andrew Lake jamboarder at gmail.com
Mon Sep 22 02:26:21 UTC 2014


On Sun, Sep 21, 2014 at 5:39 PM, David Edmundson wrote:

> >> ​Padding inside the SVG?
>
> >Yes
>
> I don't think this is the right long-term approach. We end up with
> problems like in the original post where it's difficult to make another
> item line up with an icon.
>
> IMHO padding should be applied at a QML level, not inside the component.
> It makes the behaviour a bit different to everything else.
>
> David
>
Sorry David, I wasn't terribly clear. I'm not advocating padding in the
asset as the correct way to handle padding. I was actually asking if I
should target the icon asset in the plasma theme icon svgs to a source size
of 22x22 instead of the varying sizes right now that appears to be
necessary to achieve consistent scaling and pixel grid alignment in the
systray. (For the specific icons I'm working on they *happen* to have some
padding in the asset relative to the visible portions of the asset, but
only as required to match the corresponding icons in the main icon theme.)

Sorry for the confusion. :-(
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140921/c3b2256c/attachment-0001.html>


More information about the Plasma-devel mailing list