Page 1 of 1

Base font type for all gadgets

Posted: Sat Mar 04, 2023 10:13 pm
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?

Re: Base font type for all gadgets

Posted: Sun Mar 05, 2023 12:42 am
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

Re: Base font type for all gadgets

Posted: Wed Mar 08, 2023 11:33 am
by itzybitzyspider
@AZJIO Thanks for the pointer