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

Christophe Damour sigeal at sigeal.com
Fri Aug 19 00:02:23 PDT 2016


Hi Mathieu,

Thank you very much for your advice.
Backgrounds were indeed text objects, they now display well on QGIS 2.16 
after I transformed them into paths.

I still wonder what has changed with QGIS 2.16...

Have a nice day,

-- 
Christophe

Le 19/08/2016 à 08:47, Mathieu Pellerin a écrit :
> 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 
> <mailto: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 <mailto:Qgis-developer at lists.osgeo.org>
>     List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <http://lists.osgeo.org/mailman/listinfo/qgis-developer>
>     Unsubscribe:
>     http://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <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/1cce3f53/attachment.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/1cce3f53/attachment.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/1cce3f53/attachment-0001.png>


More information about the Qgis-developer mailing list