HI Richard,

> Richard MacLemale wrote:
> 
>> I'm trying to cram everything I can into this limited screen real estate,
>> and I've got the stack size set to 621 by 427.  I crammed everything in, and
>> all is cool, until I put my screen into 640 by 480 resolution to test it.
>> Suddenly MetaCard decides that when I open the stack it's going to resize my
>> stack and remove about 20 pixels from the bottom of it!
> 
> I had exactly the same thing happen. I posted to the list a while back
> and no one had a solution. Then I discovered that if I set my screen
> resolution to 640x480, adjusted the stack so it looked right, and then
> saved the stack while in that resolution -- it would open okay after
> that in any resolution. I think it's a bug.

i had similar trouble when trying to open a 1024*768 stack on an iMac
with exactly that monitor-solution.
There were always about 20 px missing at the bottom.
Big fun, if you placed your buttons in that area...

I think it has something to do with the windowboundingrect !!!
Take a look in the index.

For me, it worked, when i forced the windowboundingrect to be
the screenrect (although i hate to be brute... ;-) e.g in an
preopenstack-handler:

on preopenstack
  set the windowboundingrect to the screenrect    ###!!!!!
  set the navigationarrows to false
  set the decorations of me to empty
  set the backdrop to "black"
  hide menubar
  get the effective filename of this stack
  set the itemdel to "/"
  delete last item of it
  set the directory to it
  set the loc of me to the screenloc     ####!!!!!
end .....


But that was a bit easier before Version 2.3.2 (where the
windowboundingrect was introduced...)...

Hope this helps...


Regards

Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to