mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-22 16:03:13 -04:00
set new initial width of piano roll editor (#3334)
This commit is contained in:
committed by
Tres Finocchiaro
parent
3070cec1ba
commit
ea88c906eb
@@ -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;
|
||||
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user