Hi,
how I can fix a maximum height of a QMainWindow central widget?
I have a QMainWindow including QDockWidgets top the central widget, like the following layout, and I want that my custom widget (setted as central widget) has an max Height like 50 pixels:

layout.JPG

Obviously I try to use the setMaximumHeight function on the central widget but without results?
Any idea?