diff options
Diffstat (limited to 'src/gui/configuration/ColourConfigurationPage.cpp')
-rw-r--r-- | src/gui/configuration/ColourConfigurationPage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/configuration/ColourConfigurationPage.cpp b/src/gui/configuration/ColourConfigurationPage.cpp index 8196125..18c5576 100644 --- a/src/gui/configuration/ColourConfigurationPage.cpp +++ b/src/gui/configuration/ColourConfigurationPage.cpp @@ -57,7 +57,7 @@ ColourConfigurationPage::ColourConfigurationPage(RosegardenGUIDoc *doc, : TabbedConfigurationPage(doc, parent, name) { TQFrame *frame = new TQFrame(m_tabWidget); - TQGridLayout *tqlayout = new TQGridLayout(frame, 2, 2, + TQGridLayout *layout = new TQGridLayout(frame, 2, 2, 10, 5); m_map = m_doc->getComposition().getSegmentColourMap(); @@ -65,15 +65,15 @@ ColourConfigurationPage::ColourConfigurationPage(RosegardenGUIDoc *doc, m_colourtable = new ColourTable(frame, m_map, m_listmap); m_colourtable->setFixedHeight(280); - tqlayout->addMultiCellWidget(m_colourtable, 0, 0, 0, 1); + layout->addMultiCellWidget(m_colourtable, 0, 0, 0, 1); TQPushButton* addColourButton = new TQPushButton(i18n("Add New Color"), frame); - tqlayout->addWidget(addColourButton, 1, 0, TQt::AlignHCenter); + layout->addWidget(addColourButton, 1, 0, TQt::AlignHCenter); TQPushButton* deleteColourButton = new TQPushButton(i18n("Delete Color"), frame); - tqlayout->addWidget(deleteColourButton, 1, 1, TQt::AlignHCenter); + layout->addWidget(deleteColourButton, 1, 1, TQt::AlignHCenter); connect(addColourButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddNew())); |