Or at least it isn't working for me here.
Any chance of this being added/fixed?
frbuttonclass does not support GA_TextAttr
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: frbuttonclass does not support GA_TextAttr
If you use an IntuiText as the gadget label (GadgetText) then you should be able to specify a TextAttr using IntuiText->ITextFont.chris wrote:Or at least it isn't working for me here.
Any chance of this being added/fixed?
Re: frbuttonclass does not support GA_TextAttr
Hmm, but doesn't the class convert GA_Text into IntuiText internally? In which case supporting GA_TextAttr should be trivial.salass00 wrote:If you use an IntuiText as the gadget label (GadgetText) then you should be able to specify a TextAttr using IntuiText->ITextFont.chris wrote:Or at least it isn't working for me here.
Any chance of this being added/fixed?
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: frbuttonclass does not support GA_TextAttr
No, it simply puts the string directly in gadget->GadgetText and sets the GFLG_LABELSTRING flag in gadget->Flags.chris wrote: Hmm, but doesn't the class convert GA_Text into IntuiText internally? In which case supporting GA_TextAttr should be trivial.
To set an intui text label you should use GA_IntuiText.