<div dir="ltr"><div><div><div>Hey Christophe,<br><br></div>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.<br><br></div>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. <br><br></div>Math<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 19, 2016 at 1:25 PM, Christophe Damour <span dir="ltr"><<a href="mailto:sigeal@sigeal.com" target="_blank">sigeal@sigeal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <div> <br>
      Has anything changed regarding the way SVG icons are handled in
      QGIS 2.16 ?<br>
      <br>
      My python plugin's toolbar doesn't display well anymore in QGIS
      2.16 :<br>
      - QGIS 2.14 :<br>
      <img src="cid:part1.47E9FB60.412BD7F4@sigeal.com" alt=""><br>
      - QGIS 2.16 :<br>
      <img src="cid:part2.7A89CB5E.B0905517@sigeal.com" alt=""><br>
      <br>
      My SVGs are 64x64 pixels, and I add them to the toolbar using this
      code :<br>
      QIcon(os.path.join(pluginDir, 'icons/config.svg'))<br>
      <br>
      Thanks for any hint.<span class="HOEnZb"><font color="#888888"><br>
      <pre cols="72">-- 
Christophe
</pre>
      <br>
    </font></span></div>
  </div>

<br>______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br></div>