Merge pull request #410 from mikobuntu/stable-0.4

fix for #405 . fixes bad placement of Automation_editor and piano_roll w...
This commit is contained in:
Tobias Doerffel
2014-03-05 09:11:34 +01:00
2 changed files with 3 additions and 0 deletions

View File

@@ -439,6 +439,7 @@ AutomationEditor::AutomationEditor() :
{
engine::mainWindow()->workspace()->addSubWindow( this );
parentWidget()->resize( INITIAL_WIDTH, INITIAL_HEIGHT );
parentWidget()->move( 5, 5 );
parentWidget()->hide();
}
else

View File

@@ -626,6 +626,8 @@ pianoRoll::pianoRoll() :
parentWidget()->setMinimumSize( tb_layout->minimumSize().width()+10, 200 );
parentWidget()->resize( tb_layout->minimumSize().width()+10,
INITIAL_PIANOROLL_HEIGHT );
parentWidget()->move( 5, 5 );
parentWidget()->hide();
}
else