Base font type for all gadgets

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

Base font type for all gadgets

Post by itzybitzyspider »

Is there a simpler way to apply a font type/size to all gadgets rather than going SetGadgetFont() for every Gadget I put in?
AZJIO
Posts: 73
Joined: Wed Dec 14, 2022 1:13 pm

Re: Base font type for all gadgets

Post by AZJIO »

Read in the help file what is #PB_Default

Code: Select all

#Font = 0
If LoadFont(#Font, "", 18)
	SetGadgetFont(#PB_Default, FontID(#Font))
EndIf
itzybitzyspider
Posts: 27
Joined: Tue Nov 22, 2022 4:36 am

Re: Base font type for all gadgets

Post by itzybitzyspider »

@AZJIO Thanks for the pointer
Post Reply