subWindow resizing, minimum, and intial sizes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1219 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -179,6 +179,11 @@ ladspaBrowserView::ladspaBrowserView( tool * _tool ) :
|
||||
parentWidget()->hide();
|
||||
parentWidget()->layout()->setSizeConstraint(
|
||||
QLayout::SetFixedSize );
|
||||
|
||||
Qt::WindowFlags flags = parentWidget()->windowFlags();
|
||||
flags |= Qt::MSWindowsFixedSizeDialogHint;
|
||||
flags &= ~Qt::WindowMaximizeButtonHint;
|
||||
parentWidget()->setWindowFlags( flags );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user