Commit 43c94605 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX #307] hopefully this makes the gui look nicer again.

parent 4d99caf9
......@@ -371,6 +371,10 @@ void WMainWindow::setupCompatiblesToolBar()
WPreferences::getPreference( "qt4gui.useToolBarBreak", &useToolBarBreak );
if( useToolBarBreak )
{
// Blank toolbar for nicer layout in case of toolbar break
// This can be done nicer very probably.
WQtToolBar* blankToolBar = new WQtToolBar( "Blank Toolbar", this );
addToolBar( Qt::TopToolBarArea, blankToolBar );
addToolBarBreak( Qt::TopToolBarArea );
}
}
......
......@@ -54,7 +54,7 @@ WQtNavGLWidget::WQtNavGLWidget( QString title, QWidget* parent, std::string slid
m_glWidget->setFixedSize( 150, 150 );
m_glWidget->initialize();
setMinimumSize( 160, 200 );
setMinimumSize( 160, 230 );
setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Maximum );
m_scene = new WGEScene();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment