Re: Menubar on Windows
Posted: Wed Oct 04, 2023 10:51 pm
Oops, I should have noted that the problem just noted only occurs on Mac. Both menu items show on Windows.
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
I hate to be one of those "RTFM" dudes, but this is a good case where reviewing the User Guide on menus would help.bd525 wrote: Wed Oct 04, 2023 10:47 pm As long as I have this expert attention, though, a final (for now) issue: The menubar menus only show one item. Here's the properties pane for the first one:
Menu Properties Window.png
Two items, but only the top one shows when the menu is clicked.
Duly noted, and thanks. The problem was the single-word menuItem "Quit". Mac, apparently, doesn't like that. Changing it to "Quit Tonal Assistant", as I noticed is the practice in other Mac apps, made the difference.I hate to be one of those "RTFM" dudes, but this is a good case where reviewing the User Guide on menus would help.
The short version:
To accommodate the differences between Mac and everything else, the last two items of an Edit menu should be a separator line ("-") followed by "Preferences...".
On Mac the LC engine automatically removes the last two items, rendering Preferences in the Application menu. On Win and Linux they remain in place, per the guidelines for those platforms.