[REBOL] Re: font color of a button
From: gjones05:mail:orion at: 19-Apr-2001 6:57
> Maarten Koopmans wrote:
>
> > Hi,
> >
> > view layout [ button "text" font [ color: 0.0.0]]
> >
> > doesn't make "text" black as I'd expect?
From: "Petr Krenzelok"
> I am somehow confused too, but:
>
> view layout [ button "text" font [colors: [0.0.0 255.255.255]]]
>
> looking at vid source of button, it seems to me color is set during
> initialisation phase to first of 'colors block?
>
> init: [
> edge: make edge []
> font/color: first font/colors
> ;etc
>
> -pekr-
It took a moment to realize that the only thing missing is an "s" at the end
of the word "color". Try:
view layout [ button "text" font [ colors: 0.0.0]]
Hopefully will work.
--Scott Jones