Set margin to zero everywhere on the project pane.

Makes the project pane look nicer.
This commit is contained in:
dt
2009-09-23 17:16:09 +02:00
parent a86fc8aa23
commit a46c18ba41
7 changed files with 24 additions and 7 deletions

View File

@@ -158,6 +158,7 @@ ActiveConfigurationWidget::ActiveConfigurationWidget(QWidget *parent)
: QWidget(parent)
{
QGridLayout *grid = new QGridLayout(this);
grid->setMargin(0);
RunConfigurationComboBox *runConfigurationComboBox = new RunConfigurationComboBox(this);
grid->addWidget(new QLabel(tr("Active run configuration")), 0, 0);
grid->addWidget(runConfigurationComboBox, 0, 1);
@@ -603,6 +604,7 @@ ProjectWindow::ProjectWindow(QWidget *parent)
m_spacerBetween = new QWidget(this);
QVBoxLayout *vbox = new QVBoxLayout(m_spacerBetween);
vbox->setMargin(0);
m_spacerBetween->setLayout(vbox);
vbox->addSpacerItem(new QSpacerItem(10, 15, QSizePolicy::Fixed, QSizePolicy::Fixed));
vbox->addWidget(new OnePixelBlackLine(m_spacerBetween));