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 <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[email protected]>
    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>



_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to