Is there a way to use custom icons in the navbar widget?

hakan at exformedia.se hakan at exformedia.se
Sat Jun 15 06:10:03 EDT 2019


The is a command setCurrentIconFamliy that you can use. You first need to create an icon family by adding all your wanted icons into an array, there array needs to have a structure of

Array
   Iconname
       Codepoint
       SVG
 iconname
       …

I’ve always used 0 for code point and the svg should be the SVG path

I do believe I have seen a stack sometime where someone had put together severalt of the common families. I can’t remember who did that though…

Håkan
On 15 Jun 2019, 09:39 +0200, Matthias Rebbe via use-livecode <use-livecode at lists.runrev.com>, wrote:
> Hi,
>
> i am currently working on a mobile app which makes use of the navbar widget. I like the ease of that widget. The only thing i am missing is that i would like to use my own icons with it, because i need other symbols than the ones provided by the widget.
>
> So is there a way to use custom icons with that widget?
>
> Regards
> Matthias
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the Use-livecode mailing list