"Set as Menu Bar on Mac OS" oddities
J. Landman Gay
jacque at hyperactivesw.com
Sun Feb 10 12:21:44 CST 2008
Russell Martin wrote:
> When I check the box "Set as Menu Bar on Mac OS", and run my app as a
> standalone on OS X, the window loses an ADDITIONAL 22 pixels.
This is an ancient bug that still isn't fixed, and it makes me crazy. It
doesn't happen with all stacks, only with some, and I'm not sure what
the difference is. There's a bug report on it:
It is confirmed but not fixed. I should mention that this behavior only
happens in Rev's IDE. If you build with the MetaCard IDE it doesn't.
> With "Set as Menu Bar on Mac OS" still checked and running in a stand
> alone on OS X, there are apparently now 22 extra pixels at the bottom
> of the stack that are not accounted for- i.e. getting the height of the
> stack reports 22 pixels less than what's actually there.
This is because the height of the stack is the same as the height of the
window; the two terms are pretty much interchangeable. What you want is
the height of the card, which will include the pixels that have scrolled
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode