X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fmain_interface.cpp;h=17810d90963031d0e7e49a929697a052bf04b00f;hb=10c68b56f970e05729b30a1c0f42cfe87d5fc55d;hp=fdde2ce563df02f86aac4d134c69c071bd215aee;hpb=bf97d43aee0be50f37e21e316d1099c7a45a4637;p=vlc diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index fdde2ce563..17810d9096 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -468,6 +468,14 @@ inline void MainInterface::createStatusBar() CONNECT( THEMIM->getIM(), seekRequested( float ), timeLabel, setDisplayPosition( float ) ); + + /* This shouldn't be necessary, but for somehow reason, the statusBarr + starts at height of 20px and when a text is shown it needs more space. + But, as the QMainWindow policy doesn't allow statusBar to change QMW's + geometry, we need to force a height. If you have a better idea, please + tell me -- jb + */ + statusBarr->setFixedHeight( statusBarr->sizeHint().height() + 2 ); } /**********************************************************************