-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How are submenus supposed to work? #157
How are submenus supposed to work? #157
Comments
Submenues aren't supported. The docs are wrong. |
I see. Is this a libui limitation? Or it's something I can help with, on proton-native sphere? |
Yes, ATM. See also andlabs/libui#321 and parro-it/libui-node#110 |
Got it. May I create a PR that fixes the docs about it? I also find it interesting to note that menus can be created inside |
Sure. |
The docs are clear:
However, this:
Causes this:
At least on Mac OS X 10.13.2, the "Load Transaction" item is rather created as a main menu, and not as submenu, despite it being inside a
<Menu>
item.How was this supposed to be done? Perhaps an example on it could be added to the docs.
Note: I only tested it on OS X.
The text was updated successfully, but these errors were encountered: