Using SVGWidgets

In a module I need to change a meter layout, and the SVGWidget is perfect for this (and I have it working), But I notice that the setSvg method is marked as deprecated. Is there another way I should be setting was SVG is used? I don’t want to use an SVGPanel since that has a border.

I think it is setSVG that is deprecated, not setSvg, at least that’s my understanding.

2 Likes

yep, that was it