[REBOL] Re: how to resize a backdrop
From: arolls:idatam:au at: 20-Nov-2001 14:57
Well, since I figured out how, it's
not a problem. Just when conducting
my tests to find out how to do it,
I started with view/new ...
so I couldn't see how to do it properly.
> What circumstance is it that you need to display a resize of
> the backdrop
> without event processing being in operation?
>
> Brett
Also, here is a way to ensure that the backdrop
is redrawn correctly underneath a text:
view lay: layout [
origin 0
bd: backdrop effect [gradient]
t: text "hello there" [
append t/text " rebol"
t/size: t/size + 40x0 ; room to accommodate longer text
t/saved-area: none ; forget the image
bd/size: lay/size: 4x4 + size-text t
show lay
]
]
Anton.