Skip to content
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

Cannot hide menu or change menu #227

Open
ihsansfd opened this issue Jul 7, 2023 · 2 comments
Open

Cannot hide menu or change menu #227

ihsansfd opened this issue Jul 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ihsansfd
Copy link

ihsansfd commented Jul 7, 2023

I tried to change the menu using the Electron.Menu to the Titlebar instance, it didin't work and it hides the title bar entirely. I tried to set the menu to null in the electron menu, the menu is still appearing.

How this menu modification really works actually? How to hide the menu?

@AlexTorresDev AlexTorresDev added the bug Something isn't working label Aug 17, 2023
@fjeddy
Copy link

fjeddy commented Aug 28, 2023

Wondering the same thing, considering how many people use this, then the documentation is absolutely horrible.

@Andrew-web-coder
Copy link

This is the only way I could find to hide the menu bar:

  const menu = new Menu()
  Menu.setApplicationMenu(menu)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants