Menu

#14 Mac OS: use native menu bar location

Observation_Manager
pending-accepted
None
5
2011-07-06
2011-07-06
RalphSBln
No

Another minor and easy-to-fix cosmetic: Please add the VM property

-Dapple.laf.useScreenMenuBar=true

to the Mac specific launch script obs.app/Contents/Resources/Scripts/main.scpt

The line should look like

do shell script "cd " & POSIX path of omdir & "../; java -Dapple.laf.useScreenMenuBar=true -Djava.ext.dirs=" & POSIX path of omdir & "../lib de.lehmannet.om.ui.navigation.ObservationManager".

As a result, the menu bar will appear at the top of the screen instead of inside the window, just as Mac users like it :)

Discussion

  • Dirk Lehmann

    Dirk Lehmann - 2011-07-06
    • assigned_to: nobody --> doergn
    • status: open --> pending-accepted
     
  • Dirk Lehmann

    Dirk Lehmann - 2011-07-06

    Cool thanks!

    Best Dirk

     
  • Dirk Lehmann

    Dirk Lehmann - 2011-08-03

    Hi,

    as I'm currently leaking of a Mac, could you pls. send me the main.scpt file with the additional parameter, as I cannot create it.

    Thanks in advance

    Dirk

     
MongoDB Logo MongoDB