True, I spent much of last night tracking down some original SVG files so I
could make a color change. Still, it was worth it to be able to have a
flexible hit zone.
Importing an SVG turns it into an image object, so you have the same
constraints as with any image. That's why the original widgets won't work,
they need the conversion. There are commands to do that but they won't
account for a color change so you'd need to export them, make the changes
in a text editor and reimport anyway.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 2, 2019 7:54:18 AM Sannyasin Brahmanathaswami via use-livecode
<use-livecode@lists.runrev.com> wrote:
Yes, that works, but "It's genius" I'm not sure.
Not being able change color, which is available in LC SVG widgets is a
pain. If your theme is "black" and you want "white" SVG, you don’t have
control over the color in LC. You can set color in the svg text source.
There are two ways, the only one accepted by LC import control as image is:
<path style="fill: #fff" d="m110.488.... />
But if the eye candy people on the team say "Oh, could you make it *just* a
bit darker."
You are forced to change it in SVG text source, reimport the images and
deal with new ID's for the icons of buttons.
BR
------------
Jacque wrote:
You can now "import as control" an SVG and treat it like any other image.
It's genius.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode