Solved Making window as compact as possible?
-
Hello, is there an option somewhere that makes a QMainWindow as compact as possible? I created a window that always uses more space that it needs to, and I was wondering if Qt could handle the minimization of the window for me.
Thanks a lot!
-
Hi
If u use layouts, then settings size
of mainwindow will make it as small as possible.
So what you expect such minimization to do? -
mainWindow->resize( mainWindow->layout()->minimumSize() );
-
Perfect, thanks again!