fix for #405 . fixes bad placement of Automation_editor and piano_roll windows on initial opening.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
parent/*
|
||||
* AutomationEditor.cpp - implementation of AutomationEditor which is used for
|
||||
* actual setting of dynamic values
|
||||
*
|
||||
@@ -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