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:
@@ -439,6 +439,7 @@ AutomationEditor::AutomationEditor() :
|
||||
{
|
||||
engine::mainWindow()->workspace()->addSubWindow( this );
|
||||
parentWidget()->resize( INITIAL_WIDTH, INITIAL_HEIGHT );
|
||||
parentWidget()->move( 5, 5 );
|
||||
parentWidget()->hide();
|
||||
}
|
||||
else
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user