[REBOL] Re: View/Draw'ing with 'size...
From: media:quazart at: 22-Oct-2001 15:15
Hi Chriss,
ALAS...
I just discovered that specifying face/size, references a static context...
the context of the object from which the current object will be built...
test this:
rebol []
q-style: stylize [
qbutton: box 120x120
effect [ tile
contrast 10
gradmul 0x1 120.120.120 80.80.80
draw [pen 0.0.255 box 0x0 face/size - 1x1]
]
]
view layout [styles q-style qbutton "HEY!"]
You should see that face is refering to the default box face object... not
to this new "instance" of box .
any other ideas?
-Max