Skip to content

Commit

Permalink
Update widths of combo boxes (LMMS#7262)
Browse files Browse the repository at this point in the history
* Update widths of combo boxes

* Update src/gui/editors/PianoRoll.cpp

no space right after brace

Co-authored-by: saker <[email protected]>

* Update src/gui/editors/PianoRoll.cpp

Co-authored-by: saker <[email protected]>

* Update src/gui/editors/PianoRoll.cpp

Co-authored-by: saker <[email protected]>

* Update src/gui/editors/PianoRoll.cpp

Co-authored-by: saker <[email protected]>

---------

Co-authored-by: saker <[email protected]>
  • Loading branch information
anytizer and sakertooth authored May 18, 2024
1 parent 7859f1c commit f891bb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4894,7 +4894,7 @@ PianoRollWindow::PianoRollWindow() :

m_quantizeComboBox = new ComboBox( m_toolBar );
m_quantizeComboBox->setModel( &m_editor->m_quantizeModel );
m_quantizeComboBox->setFixedSize( 64, ComboBox::DEFAULT_HEIGHT );
m_quantizeComboBox->setFixedSize(85, ComboBox::DEFAULT_HEIGHT);
m_quantizeComboBox->setToolTip( tr( "Quantization") );

// setup note-len-stuff
Expand All @@ -4918,7 +4918,7 @@ PianoRollWindow::PianoRollWindow() :

m_scaleComboBox = new ComboBox( m_toolBar );
m_scaleComboBox->setModel( &m_editor->m_scaleModel );
m_scaleComboBox->setFixedSize( 105, ComboBox::DEFAULT_HEIGHT );
m_scaleComboBox->setFixedSize(155, ComboBox::DEFAULT_HEIGHT);
m_scaleComboBox->setToolTip( tr( "Scale") );

// setup chord-stuff
Expand All @@ -4927,7 +4927,7 @@ PianoRollWindow::PianoRollWindow() :

m_chordComboBox = new ComboBox( m_toolBar );
m_chordComboBox->setModel( &m_editor->m_chordModel );
m_chordComboBox->setFixedSize( 105, ComboBox::DEFAULT_HEIGHT );
m_chordComboBox->setFixedSize(125, ComboBox::DEFAULT_HEIGHT);
m_chordComboBox->setToolTip( tr( "Chord" ) );

// setup snap-stuff
Expand All @@ -4936,7 +4936,7 @@ PianoRollWindow::PianoRollWindow() :

m_snapComboBox = new ComboBox(m_toolBar);
m_snapComboBox->setModel(&m_editor->m_snapModel);
m_snapComboBox->setFixedSize(105, ComboBox::DEFAULT_HEIGHT);
m_snapComboBox->setFixedSize(96, ComboBox::DEFAULT_HEIGHT);
m_snapComboBox->setToolTip(tr("Snap mode"));

// -- Clear ghost MIDI clip button
Expand Down

0 comments on commit f891bb3

Please sign in to comment.