Adding icons to buttons

Just starting out? Need help? Post your questions and find answers here.
itzybitzyspider
Posts: 27
Joined: Tue Nov 22, 2022 4:36 am

Adding icons to buttons

Post by itzybitzyspider »

Hi guys,

How are you guys adding icons + text together in a button? Like a simple fontawesome icon like a spanner, then the words settings.
plouf
Posts: 194
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Adding icons to buttons

Post by plouf »

using html

ButtonGadget(2, 10, 70, 200, 40, "<img src='test.png'><b>Right Button</b>", #PB_Button_Right) ; Using HTML markup
Christos
Post Reply