#1165 Reduced size and spacing.

This commit is contained in:
Jacob Støren
2017-02-02 16:03:39 +01:00
parent 40dbf78aa9
commit 45dc7a1c08

View File

@@ -42,15 +42,16 @@ RiuWellAllocationPlot::RiuWellAllocationPlot(RimWellAllocationPlot* plotDefiniti
QVBoxLayout* mainLayout = new QVBoxLayout();
this->setLayout(mainLayout);
this->layout()->setMargin(0);
this->layout()->setSpacing(0);
m_titleLabel = new QLabel(this);
QFont font = m_titleLabel->font();
font.setPointSize(36);
font.setPointSize(16);
font.setBold(true);
m_titleLabel->setFont(font);
mainLayout->addWidget(m_titleLabel, 1, Qt::AlignCenter);
mainLayout->addWidget(m_titleLabel, 0, Qt::AlignCenter);
QHBoxLayout* plotWidgetsLayout = new QHBoxLayout();
mainLayout->addLayout(plotWidgetsLayout, 10);