Somehow the application works fine without any changes.
My menu is in vbox, which is the only child of the main window that I created. This is the first element of vbox, not sure if this is something affecting.
And here is what I noticed:
I asked this question because when I clicked the Run button in MonoDevelop, the menu bar appeared in the window instead of the global one.
However, when I run it directly from the mono [myappname].exe command line, it works fine. Not sure what is going on here.
Thus, Unity developers have simplified the use of the global menu bar automatically, but MonoDevelop somehow does what disables this behavior when the application starts from MD. Not sure if this is an MD error, expected behavior, or if some of them occur here.
Since the application runs only from MD for testing, I accept it as it is now.
luiscubal
source share