Skip to content

Commit

Permalink
set new initial width of piano roll editor (#3334)
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraMGB authored and tresf committed Feb 8, 2017
1 parent 3070cec commit ea88c90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ typedef AutomationPattern::timeMap timeMap;


// some constants...
const int INITIAL_PIANOROLL_WIDTH = 860;
const int INITIAL_PIANOROLL_HEIGHT = 480;

const int SCROLLBAR_SIZE = 12;
Expand Down Expand Up @@ -4374,7 +4375,7 @@ void PianoRollWindow::loadSettings( const QDomElement & de )

QSize PianoRollWindow::sizeHint() const
{
return { m_toolBar->sizeHint().width() + 10, INITIAL_PIANOROLL_HEIGHT };
return { INITIAL_PIANOROLL_WIDTH, INITIAL_PIANOROLL_HEIGHT };
}


Expand Down

0 comments on commit ea88c90

Please sign in to comment.