summaryrefslogtreecommitdiff
path: root/audio/lmms/01-fix_piano_roll_resize.patch
blob: 51be39beeb2e2b0cd0271c5b3791e15ddca94802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/gui/piano_roll.cpp b/src/gui/piano_roll.cpp
index e94c022..eec83fe 100644
--- a/src/gui/piano_roll.cpp
+++ b/src/gui/piano_roll.cpp
@@ -599,7 +599,7 @@ pianoRoll::pianoRoll() :
 	if( engine::mainWindow()->workspace() )
 	{
 		engine::mainWindow()->workspace()->addSubWindow( this );
-		parentWidget()->setMinimumWidth( tb_layout->minimumSize().width()+10 );
+		parentWidget()->setMinimumSize( tb_layout->minimumSize().width()+10, 200 );
 		parentWidget()->resize( tb_layout->minimumSize().width()+10,
 						INITIAL_PIANOROLL_HEIGHT );
 		parentWidget()->hide();