[REBOL] Re: /span does not work with backdrop, is it a bug ?
From: anton:wilddsl:au at: 12-Jun-2007 19:31
Hi Arnaud,
The last thing svv/vid-styles/backdrop/init
does is set SIZE to PANE-SIZE.
But this is not enforced in REDRAW later, see
svv/vid-styles/backdrop/feel
You could supply your own REDRAW function:
win: layout [
size 200x200
backdrop black feel [
redraw: func [face action position][
face/size: face/parent-face/span
]
]
at 840x525 button 100x50 "hello"
]
win/span: 1680x1050
view/new win
do-events
Note, you can use BACKCOLOR and BACKEFFECT to affect
the window face directly:
win: layout [
size 200x200
backcolor black
at 840x525 button 100x50 "hello"
]
win/span: 1680x1050
view/new win
do-events
Regards,
Anton.