The Reaction GetColor.gadget makes a nice button with the current color selection as its background,
then pops up the Color Wheel when you click on the button.
There does not seem to be any way to put a text label on the button, as GETCOLOR_TitleText only labels the popup window
and GA_Text seems to be ignored.
If I didn't miss something, it would be nice to be able to put a short text on this button.
Thanks,
Tom
GetColor Gadget Button
- javierdlr
- Beta Tester
- Posts: 389
- Joined: Sun Jun 19, 2011 11:13 pm
- Location: Donostia (GUIPUZCOA) - Spain
- Contact:
Re: GetColor Gadget Button
Reading getcolor_gd autodoc it doesn't have GA_Text tag, you can add a label maybe.tbreeden wrote:The Reaction GetColor.gadget makes a nice button with the current color selection as its background,
then pops up the Color Wheel when you click on the button.
There does not seem to be any way to put a text label on the button, as GETCOLOR_TitleText only labels the popup window
and GA_Text seems to be ignored.
If I didn't miss something, it would be nice to be able to put a short text on this button.
Thanks,
Tom
Code: Select all
CHILD_Label, IIntuition->NewObject(NULL, "label.image",
LABEL_Text, "Wheel color label",
TAG_DONE),
Re: GetColor Gadget Button
Yes, no problema.Reading getcolor_gd autodoc it doesn't have GA_Text tag, you can add a label maybe.
Tom