SVG icons in buttons
J. Landman Gay
jacque at hyperactivesw.com
Wed Feb 27 00:26:09 EST 2019
On 2/26/19 6:21 PM, Monte Goulding via use-livecode wrote:
>
>
>> 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.
Thanks Monte, that's just too cool. I've gone wild with it. :)
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list