Page 1 of 1

frbuttonclass does not support GA_TextAttr

Posted: Tue Nov 17, 2015 4:10 pm
by chris
Or at least it isn't working for me here.

Any chance of this being added/fixed?

Re: frbuttonclass does not support GA_TextAttr

Posted: Sat Nov 21, 2015 6:05 pm
by salass00
chris wrote:Or at least it isn't working for me here.

Any chance of this being added/fixed?
If you use an IntuiText as the gadget label (GadgetText) then you should be able to specify a TextAttr using IntuiText->ITextFont.

Re: frbuttonclass does not support GA_TextAttr

Posted: Sat Nov 21, 2015 10:29 pm
by chris
salass00 wrote:
chris wrote:Or at least it isn't working for me here.

Any chance of this being added/fixed?
If you use an IntuiText as the gadget label (GadgetText) then you should be able to specify a TextAttr using IntuiText->ITextFont.
Hmm, but doesn't the class convert GA_Text into IntuiText internally? In which case supporting GA_TextAttr should be trivial.

Re: frbuttonclass does not support GA_TextAttr

Posted: Sat Nov 28, 2015 10:55 am
by salass00
chris wrote: Hmm, but doesn't the class convert GA_Text into IntuiText internally? In which case supporting GA_TextAttr should be trivial.
No, it simply puts the string directly in gadget->GadgetText and sets the GFLG_LABELSTRING flag in gadget->Flags.

To set an intui text label you should use GA_IntuiText.