Studio resizeing stack behind back of user...
Richard Gaskin
ambassador at fourthworld.com
Tue Aug 29 13:27:31 EDT 2006
Andrew Meit wrote:
> Mac Studio 2.7.3 users out there, does Studio resize your saved
> stacks when you later reopen them? That is it thinks you have a Win
> Taskbar and clips the stack height to account for it.
The cause may be the menubar as others have noted, but it may also be
that the engine's setting of the windowBoundingRect and how that affects
the window buffer.
By default, the windowBoundingRect is set to the largest screen size
available after subtracting room for the various OS trimmings (Task Bar
on Win, menu bar and Dock on Mac).
The window buffer is apparently sized to match the windowBoundingRect,
since of course it wouldn't make much sense to buffer larger than can be
displayed. The side-effect of this is that a stack larger than the
windowBoundingRect may appear in a window cropped to match the
windowBoundingRect.
The default windowBoundingRect is a customary size which makes sense for
most apps, governing among other things the maximum size you get when
you click the window's zoomBox. But if you need a stack larger than the
system default, you'll need to change it to the size you want, and then
adjust your stack to match:
on preOpenStack
set the windowBoundingRect to the screenRect
set the rect of this stack to the screenRect
pass preOpenStack
end preOpenStack
That assumes of course you were looking to make a full-screen stack. If
not, then just replace screenRect with whatever rect you're after.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
More information about the use-livecode
mailing list