Qt custom window title bar
Alatriste last edited by
I'm trying to make my own window title bar.
I removed stadart system title bar by
and I want make something like that
but when I'm setting for example grid layout to main window I have this
It's possible to do not change widgets positions on main window?
Layouts do not let you "cross" spacers (or any other elements) like that. Think of them like any other widgets. It would make no sense to create two overlapping buttons for example.
If you want the area in the center to take the space then put a widget in there and give it an expanding size policy.