yes,

 this works because a gradient is a dynamic effect, so if you change any
face's size and if a gradient is applied to it, it will scale along with it
(so long as you 'show the face again).


-MAx

----- Original Message -----
From: "Anton Rolls" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 14, 2001 11:38 PM
Subject: [REBOL] how to resize a backdrop


> I have figured out a method to make the
> backdrop resize. I believe there must
> be a better way to increase the size
> of the clip region and refresh, but I am
> using WAIT here:
>
> rebol []
>
> view/new lay: layout [size 200x200 bd: backdrop blue effect [gradient]]
>
> lay/size: lay/size + 40x40
> show lay
>
> wait 4 ; not necessary - just for demo
>
> bd/size: bd/size + 40x40
> show bd
>
> wait 0 ; a WAIT here is necessary
>
> wait none ; wait for user to press close
>
>
> Anton
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to