[REBOL] Re: how to resize a backdrop
From: arolls:idatam:au at: 19-Nov-2001 17:44
No no. I see this very problem on windows NT4
(and 2000, I am pretty sure...)
That's why I was experimenting to find a
solution. Here is a console session that
works for me:
>> view/new lay: layout [size 200x200 bd: backdrop blue effect [oval]]
>> lay/size: lay/size + 50x50
>> bd/size: bd/size + 50x50
>> show lay
; here I see backdrop is still clipped too small
; although oval has been redrawn in larger size
; see http://anton.idatam.com.au/rebol/bugs/images/bg-clip.png
>> wait 0.001
; here I see clip box expands to correct size
; and can see all of the oval again
And I made a mistake in my last post.
The first [wait 0] is not quite enough.
I need to wait some amount time (greater
than zero). I shouldn't have included
the second [wait none] as that just
confused the issue. [wait none] also
causes the backdrop to resize...