Page 1 of 1
Changing icons in the Hearder Bar Widget
Posted: Mon Feb 20, 2017 11:41 pm
by tyarmsteadBUSuSfT
I wonder if it is possible to replace the icons with different ones of one’s own choice?
Thank you
Ty
Re: Changing icons in the Hearder Bar Widget
Posted: Tue Feb 21, 2017 12:37 am
by bn
Hi,
you are restricted to the predefined graphics provided by the "IconSVG"
you can change them in the Properties Inspector by clicking on an existing icon. The dictionary -> API -> Choose API -> Header Bar shows the details.
(just make sure your search field is empty to see all entries for "Header Bar". Just confused me right now.
Kind regards
Bernd
Re: Changing icons in the Hearder Bar Widget
Posted: Wed Feb 22, 2017 6:46 pm
by tyarmsteadBUSuSfT
So the answer is that I am restricted to the predefined icons only? Is there an upgrade planned to allow us to add our own icons that can be used within the Navigation Bar Widget?
Thank you
Ty
Re: Changing icons in the Hearder Bar Widget
Posted: Wed Feb 22, 2017 8:14 pm
by bn
Hi Ty,
I am afraid we are currntly restricted to using the font provided by library "Icon SVG" in the Header Bar widget.
I am not aware of an impending upgrade. But then the Livecode Builder is evolving rather rapidly. You never know.
Kind regards
Bernd
Re: Changing icons in the Hearder Bar Widget
Posted: Wed Feb 22, 2017 8:33 pm
by tyarmsteadBUSuSfT
Disappointing, but I understand.
Thank you
Ty
Re: Changing icons in the Hearder Bar Widget
Posted: Thu Feb 23, 2017 2:53 pm
by Mikey
I've been looking at how to do this, but I haven't had time to actually work on it beyond fiddling with proving that I could turn other fonts into svg's. The way the thing was written, the icons were hard-coded into the widgets. The good news is that the source is right there, so any of us can add the functionality (and get rid of the hard-coded icons) if we get around to doing it.
Re: Changing icons in the Hearder Bar Widget
Posted: Thu Feb 23, 2017 5:26 pm
by tyarmsteadBUSuSfT
That is encouraging, thank you.
Ty