changed size constraint for scrollArea-widget layout - fixes messed up Song Editor after loading various projects

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1574 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-09-07 13:31:59 +00:00
parent f7d69f1161
commit 058d284c8c
2 changed files with 6 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ trackContainerView::trackContainerView( trackContainer * _tc ) :
m_scrollLayout = new QVBoxLayout( scrollContent );
m_scrollLayout->setMargin( 0 );
m_scrollLayout->setSpacing( 0 );
m_scrollLayout->setSizeConstraint( QLayout::SetMinimumSize );
m_scrollLayout->setSizeConstraint( QLayout::SetMinAndMaxSize );
m_scrollArea->setWidget( scrollContent );