#1173 Added the possibility to hide the legend in a Well Alloc plots ((including WellLog plot )

Also changed the background color to white.
This commit is contained in:
Jacob Støren
2017-02-10 11:22:57 +01:00
parent d1743be8e7
commit 3e7413831a
4 changed files with 40 additions and 7 deletions

View File

@@ -51,6 +51,12 @@ RiuWellAllocationPlot::RiuWellAllocationPlot(RimWellAllocationPlot* plotDefiniti
font.setBold(true);
m_titleLabel->setFont(font);
// White background
QPalette pal = this->palette();
pal.setColor(QPalette::Background, Qt::white);
this->setAutoFillBackground(true);
this->setPalette(pal);
mainLayout->addWidget(m_titleLabel, 0, Qt::AlignCenter);
QHBoxLayout* plotWidgetsLayout = new QHBoxLayout();