SVG icons in buttons

hh hh at
Wed Feb 27 15:35:00 EST 2019

The corresponding versions that use JavaScript (from midth 2017)
use the full SVG power of a browser and store the SVG as a
property of the image. And then they convert (very fast) the SVG
again to the image whenever the image is resized.
This doesn't need any additional space if you already use a
browser widget in your stack.

LC 8/9: "SVG Powered Images" [by Jonathan] uses a browser widget

LC 6/7/8/9: "SVG2PNG_6789" [by me] uses revBrowser (Mac only)

The technique to store the SVG to an image property and to
recompile it when the control resizes could also be used for
the current LC approach.

More information about the use-livecode mailing list