Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Alatriste last edited by
How to make resizeable menu bar like this?
i.e move some QMenu_s down, according the window size.
Is this possible?
I called QMenuBar::adjustSize() but without result.
adjustSize()has nothing to do here. There's no direct support for multiline menus in QMenuBar.
You would have to override the resize event and add/remove actions on the fly.
Another option is to create your own layout and add buttons (make them flat and give them menus) instead of actions. See the Flow Layout Example for more details.
To be honest both these options are awful.
Alatriste last edited by Alatriste
Thank you for information