Window resizing before open?

Scott Rossi scott at tactilemedia.com
Mon Feb 9 10:40:52 EST 2004


On 2/9/04 7:31 AM, "Frank Leahy" <frank at backtalk.com> wrote:

> I seem to recall a discussion a month or so ago about how to set a
> window's size before it opens -- but I can't find it via Google.
> 
> All of my windows want to resize themselves smaller when they open, and
> so I've taken to resetting the height on preOpenStack, and because that
> doesn't always work, in openStack as well.  But this can cause a flash
> as the if the resize happens after it becomes visible.

Setting the size of your stack in a preOpenStack handler should work fine
(been doing it for years without a problem).  Are you sure the stack's
alwaysBuffer is set to true?

Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list