How to make QDockWidget not to shrink QFrame logo?
-
08-03-2021 - |
Question
My application has a horizontal top logo that is stretched through all the main window. When I add a QDockWidget it shrinks logo. I want it to be docked under the logo frame. How do I do it?
La solution
Put your logo widget into a QToolBar. QToolBar takes the top side of the window, thus QDockWidget is situaded under it.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow