[Qgis-developer] Fwd: Toolbars - SVG icons management - QGIS 2.16

Mathieu Pellerin nirvn.asia at gmail.com
Thu Aug 18 23:47:05 PDT 2016


Hey Christophe,

I won't answer your question directly I'm afraid, but there might be a
better-practice / compatibility improvement you can do to your icons.

Question first: are the background O\D elements text objects, or paths? If
the answer is text objects, you'd be better transform those into paths.

Math

On Fri, Aug 19, 2016 at 1:25 PM, Christophe Damour <sigeal at sigeal.com>
wrote:

> Hi,
>
> Has anything changed regarding the way SVG icons are handled in QGIS 2.16 ?
>
> My python plugin's toolbar doesn't display well anymore in QGIS 2.16 :
> - QGIS 2.14 :
>
> - QGIS 2.16 :
>
>
> My SVGs are 64x64 pixels, and I add them to the toolbar using this code :
> QIcon(os.path.join(pluginDir, 'icons/config.svg'))
>
> Thanks for any hint.
>
> --
> Christophe
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160819/27aed5a0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5095 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160819/27aed5a0/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4895 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160819/27aed5a0/attachment-0003.png>


More information about the Qgis-developer mailing list