From 73bd963a3f69265b3785c55984c3bbd51c6f967d Mon Sep 17 00:00:00 2001 From: tresf Date: Wed, 18 Jun 2014 02:54:29 -0400 Subject: [PATCH] Allow vertical resize for VST Plugin Control Window --- plugins/vestige/vestige.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/vestige/vestige.cpp b/plugins/vestige/vestige.cpp index 7ae8dbcdd..8f41b36c9 100644 --- a/plugins/vestige/vestige.cpp +++ b/plugins/vestige/vestige.cpp @@ -882,8 +882,9 @@ manageVestigeInstrumentView::manageVestigeInstrumentView( Instrument * _instrume m_vi->m_subWindow = engine::mainWindow()->workspace()->addSubWindow(new QMdiSubWindow, Qt::SubWindow | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowSystemMenuHint); - m_vi->m_subWindow->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ); - m_vi->m_subWindow->setFixedSize( 960, 300); + m_vi->m_subWindow->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::MinimumExpanding ); + m_vi->m_subWindow->setFixedWidth( 960 ); + m_vi->m_subWindow->setMinimumHeight( 300 ); m_vi->m_subWindow->setWidget(m_vi->m_scrollArea); m_vi->m_subWindow->setWindowTitle( m_vi->instrumentTrack()->name() + tr( " - VST plugin control" ) );