Skip to content

Removing default application menu on Linux & Windows #2420

Closed Answered by freakboy3742
ikus060 asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the extra grey bar is a bug in the GTK implementation; it's adding a toolbar to the window even though there are no toolbar buttons, and the empty toolbar is a couple of pixels tall.

The general feature you're looking for is #1870; I'm in the process of reworking this logic in #2244, which will add an official API for a "minimalist" main window without a menubar.

In the meantime, you might be able to work around the bug on GTK by removing the toolbar from the layout - I haven't tried this, but something like main_window._impl.layout.remove(main_window._impl.native_toolbar) might work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ikus060
Comment options

Answer selected by ikus060
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants