[Panel-devel] [PATCH] on icon resizing

Aaron J. Seigo aseigo at kde.org
Fri Dec 21 06:03:16 CET 2007


On Thursday 20 December 2007, you wrote:
> With the new changes to Plasma::Icon one can now set a custom SVG image
> (using Plasma::Widget::Icon::setSvg() ) for the icon itself, does this
> patch allow for resizing based on the size of the SVG (when it has one
> element in it)?

this doesn't make much sense, though. you should be able to set it to the size 
you want with Svg::size() if you want, but as far as resolution indepence 
goes it needs to adjut to  whatever size it is set.

and i really don't think you do want it to the native size of the svg. you 
want it to be the size of your appliet.

> Aaron, do we need another overloaded method for setSvg to also allow for
> selecting a specific element within a SVG file?

as i mentioned on irc, i think this can make sense. it still shouldn't impact 
size issues.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071220/c980abd2/attachment.pgp 


More information about the Panel-devel mailing list