The trick was just pointed out to me recently here on the list. You can now "import as control" an SVG and treat it like any other image. It's genius. Import the SVG, hide it, and assign its ID as the icon of a button. The icon will be the same size as you make the SVG and the button itself can be as large as you want.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 1, 2019 5:37:53 PM Sannyasin Brahmanathaswami via use-livecode <use-livecode@lists.runrev.com> wrote:

On a back arrow widget (SVGFontAwesome), meant to act as a button…

I thought the "toachable" hit box included the context/rect that the widget as placed in. Or so I thought in a previous version of < 9.0.4 rc2

But now in 9.0.4 RC2, I kept wondering why it did not work. But I got a stylus and even a touch just two pixels away from the widget, even inside the "rect" will not triggered. So here I was thinking…"wow performance is terrible, sometime it works sometimes not."


***********************************************
* A touch here, ** * * is not "heard" ** * * by the engine ** * * ** * * * * * * * * * * * * *
***********************************************

Is there some other way rather creating a group for every widget that is supposed to act as a button?

BR


_______________________________________________
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

Reply via email to