[ALLY] Setting Button text color Re:(2)
[1/4] from: larry:ecotope at: 3-Oct-2000 20:15
Hi Allen
Don't know if this is what you are looking for, but this works for a single
button (from buttons.r)
button "text colored" font [colors: [255.80.80 80.200.80]]
Cheers
-Larry
[2/4] from: allen::rebolforces::com at: 4-Oct-2000 11:44
How do we set the text colors for buttons now?
Providing a face/font/colours block doesn't seem to work anymore.
Cheers,
Allen K
[3/4] from: allen:rebolforces at: 4-Oct-2000 11:58
----- Original Message -----
From: <[allen--rebolforces--com]>
To: <[ally--rebol--com]>
Sent: Wednesday, October 04, 2000 11:44 AM
Subject: [ALLY] Setting Button text color
> How do we set the text colors for buttons now?
> Providing a face/font/colours block doesn't seem to work anymore.
>
> Cheers,
>
> Allen K
>
Of course you know I meant face/font/colors, not face/font/colours. The
latter is for people using alias ;-)
[4/4] from: allen:rebolforces at: 4-Oct-2000 13:55
Thanks Larry,
I just realised why it wasn't working for me. I was using named colors and
not reducing the block.
button "text colored" font [colors: [black blue]]
should have been
view layout [button "text colored" font [colors: reduce [black blue]]]
I was confused because I was getting black text, but no blue hover color. So
I thought the named colors were working without the need to reduce. But I
remember now that fonts will also appear black if color has no value.
Cheers,
Allen K