ProxyGadget - HyperLink - SetFont
degac opened this issue · comments
degac commented
using SetFont() on a HyperLink gadget results in changing ALL the hyperlinks created (fntDefault is for the Class not for the single object)
Suggested solution:
Field fntDefault:TGuiFont, fntHoverDefault:TGuiFont
in Method Create()
fntDefault = LookupGuiFont( GUIFONT_SYSTEM, 0, 0 )
fntHoverDefault = LookupGuiFont( GUIFONT_SYSTEM, 0, FONT_UNDERLINE )
removing of course any reference to Global vars