Changing icons in the Hearder Bar Widget

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
tyarmsteadBUSuSfT
Posts: 151
Joined: Sat Aug 25, 2012 1:14 am

Changing icons in the Hearder Bar Widget

Post by tyarmsteadBUSuSfT » Mon Feb 20, 2017 11:41 pm

I wonder if it is possible to replace the icons with different ones of one’s own choice?
Thank you
Ty

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4000
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Changing icons in the Hearder Bar Widget

Post by bn » Tue Feb 21, 2017 12:37 am

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

tyarmsteadBUSuSfT
Posts: 151
Joined: Sat Aug 25, 2012 1:14 am

Re: Changing icons in the Hearder Bar Widget

Post by tyarmsteadBUSuSfT » Wed Feb 22, 2017 6:46 pm

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

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4000
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Changing icons in the Hearder Bar Widget

Post by bn » Wed Feb 22, 2017 8:14 pm

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

tyarmsteadBUSuSfT
Posts: 151
Joined: Sat Aug 25, 2012 1:14 am

Re: Changing icons in the Hearder Bar Widget

Post by tyarmsteadBUSuSfT » Wed Feb 22, 2017 8:33 pm

Disappointing, but I understand.
Thank you
Ty

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Changing icons in the Hearder Bar Widget

Post by Mikey » Thu Feb 23, 2017 2:53 pm

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.

tyarmsteadBUSuSfT
Posts: 151
Joined: Sat Aug 25, 2012 1:14 am

Re: Changing icons in the Hearder Bar Widget

Post by tyarmsteadBUSuSfT » Thu Feb 23, 2017 5:26 pm

That is encouraging, thank you.
Ty

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”