[REBOL] Oval buttons
From: andy::flyingcat::com at: 5-Sep-2002 11:48
Hi:
I'm still working away on my rebol scripts. Sometimes I think its
getting easier, then I get stuck on some simple thing...
I'm trying to make oval buttons, with their background the same color as
the background of the rest of the face.
If I do
view layout [button 120x120 "test" with [effect: [0x1 oval 255.0.0] ] ]
I would expect (at least, according to a line in one of the tutorials)
to get an oval button on a background of red.
Instead I get an oval button on a field of black. (with a blue edge)
If I do
view layout [button 120x120 "test" with [effect: [0x1 oval 0.255.255 ]]
]
I get an oval button on a field of white.
If I specify an edge
view layout [button 120x120 "test" with [effect: [0x1 oval] edge:
[color: 255.0.0 ] ] ]
My edge is the color I specify, but the oval button is on a black
background.
If I specify both edge and oval color
view layout [button 120x120 "test" with [effect: [0x1 oval 0.255.255 ]
edge: [color: 255.0.0 ] ] ]
I can get an oval with a white background and the edge I specify.
But so far, I can't seem to figure out how to get the background field
of the oval button to be what I actually want.
---
What am I missing ?
(BTW, because I need the Call command, I am using Rebol/View/Pro
released version. I haven't tried any betas)
Thanks,
Andy