Stack resizing on Mac 800x600

Sarah Reichelt sarah.reichelt at gmail.com
Mon Nov 28 15:21:27 CST 2005


On 11/29/05, Peter T. Evensen <pevensen at siboneylg.com> wrote:
> I hope someone knows the quick answer to this.  I have a stack without a
> title bar that is 800x600.  If I switch the Mac to 800x600 screen
> resolution, the stack is resized to less than 800x600.  It is more than for
> the size of the menu bar, and the stack is also resized horizontally.
>
> Is there some way to prevent this resizing?

Your stack is being resized to fit into the windowBoundingRect, so I
would use something like this:

set the windowBoundingRect to the screenRect
set the width of this stack to 800
set the height of this stack to 600
set the loc of this stack to the screenLoc

Cheers,
Sarah



More information about the use-livecode mailing list