Strange menubar problem

J. Landman Gay jacque at hyperactivesw.com
Sat Feb 20 15:41:09 EST 2010


Peter Haworth wrote:
> I've set up the standard app/file/edit/help menus to be displayed in the 
> OSX menu bar of my app.  The menubars property is correctly set to the 
> name of the group containing the menu definitions and the editMenus 
> property is set to false.  The menus appear correctly in the OSX menu bar.
> 
> However, every time I run my app, the main stack window grows in height 
> by a few pixels added to the bottom of the window.  This is a cumulative 
> effect so each time the app runs, the the main stack window gets 
> progressively taller.  If I manually resize the main stack window then 
> rerun my app, it appears with the height as it was before I manually 
> resized it.
> 
> I can't find any scripts that would affect the size of the main stack 
> window.  The main stack is displayed as a pallette.  I'm running rev 4.0 
> on OSX 10.5.
> Any clues?

It sounds like the shrinking stack phenomenon, which is a long-standing 
bug, only yours is in reverse. If it's the same bug, then check to see 
if the destroystack property of your stack is set to true. If so, turn 
that off. In the case of shrinking stacks, that's the culprit. There's 
an ancient bug report about it, and last I asked, it was going to be fixed.

If that isn't the problem then try setting the menubar of the stack to 
empty (which will pop the menus back to the top of the stack window,) 
size the stack the way you want it, save the stack, then set the menubar 
property again and resave.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list