Hmm...

    OK,  now I see what you are talking about,  it appears that the /View
window thinks that it needs to be the "active" REBOL window (the one
recieving request from the user) before it feels that it is important enough
to properly SHOW itself.  I will keep my eye on this one, & let you know if
I figure something out!

Sorry I couldn't be of more use...
Ammon

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


> 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
> == 250x250
> >> bd/size: bd/size + 50x50
> == 250x250
> >> 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
> == none
>
> 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...
>
> Anton.
>
> > This could very well be an Amiga only problem.  I experience
> > no need to have
> > the wait.  I tried running with, & without - in the Console, & Script
> > based - all with the EXACT same behavior.
> >
> > HTH
> > Ammon
> >
> >
> > ----- Original Message -----
> > From: "Carl Read" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, November 16, 2001 5:27 PM
> > Subject: [REBOL] Re: how to resize a backdrop
> >
> >
> > > On 16-Nov-01, Ammon Johnson wrote:
> > >
> > > > What is the wait necessary for? I couldn't see any difference,
> > > > running it with or without the wait that you say is necessary. The
> > > > backdrop resizes nicely for me regardless of that wait.
> > >
> > > On my Amiga the window resizes but the backdrop doesn't
> > resize to fit
> > > it, though the gradient has changed to reflect the larger size.  So,
> > > at the end, I've still a bare band around the right and bottom.  Is
> > > there some cross-platform issues here?  Or perhaps a bug in Amiga
> > > View?  The gradient should end up filling the whole of the window,
> > > shouldn't it?
> > >
> > > > Enjoy!!
> > > > Ammon
> > >
> > > > ---- Original Message -----
> > > > From: "Anton Rolls" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, November 14, 2001 9: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
> > >
> > > --
> > > Carl Read
>
> --
> 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