SVG icons in buttons

Monte Goulding monte at appisle.net
Tue Feb 26 19:21:08 EST 2019



> On 27 Feb 2019, at 11:14 am, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I thought I read that we could use SVG icons in buttons now. How does that work? I thought I'd tried it once before successfully but I can't get it to work right now (LC 9.0.3rc1).

Import the SVG using the drawing library `drawingSVGCompile()` and set the text of an image to the returned value. Then use the image ID as an icon in the normal way.

Cheers

Monte


More information about the Use-livecode mailing list