Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants