From 21c669e6b3e7155cddb0104eecc8834b0c19fab9 Mon Sep 17 00:00:00 2001 From: Achim Settelmeier Date: Mon, 1 Jun 2009 02:31:45 +0200 Subject: [PATCH] MCL setup: fine-tune layout of setup dialog Sizing of the columns in the action table corrected in the setup dialog for MidiControlListener. Signed-off-by: Tobias Doerffel --- src/gui/setup_dialog.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gui/setup_dialog.cpp b/src/gui/setup_dialog.cpp index 6866412f3..8b4a0af5e 100644 --- a/src/gui/setup_dialog.cpp +++ b/src/gui/setup_dialog.cpp @@ -808,7 +808,7 @@ void setupDialog::mclUpdateActionTable( void ) table->setColumnCount( 2 ); table->setRowCount( m_mclActionMapKeys.count() + m_mclActionMapControllers.count() ); - table->setGeometry(20, 80, 250, 145 ); + table->setGeometry(20, 80, 250, 148 ); QStringList headers; headers << "Key/Ctrl" << "Action"; table->setHorizontalHeaderLabels( headers ); @@ -858,15 +858,14 @@ void setupDialog::mclUpdateActionTable( void ) m_mclActionTableMap.append( qMakePair( 'c', it.key() ) ); } - //table->setColumnWidth( 0, 135 ); - //table->setColumnWidth( 1, 135 ); + table->setColumnWidth( 0, 100 ); + table->setColumnWidth( 1, 130 ); table->setEnabled( true ); table->setShowGrid( false ); table->setSortingEnabled( false ); table->setSelectionBehavior( QTableWidget::SelectRows ); table->verticalHeader()->hide(); table->setAlternatingRowColors( true ); - }