Well Alloc Plot: Added case and timestep to title, Adjusted font.

This commit is contained in:
Jacob Støren 2017-02-03 08:51:43 +01:00
parent c613c389f3
commit 01864aee09
2 changed files with 3 additions and 3 deletions

View File

@ -252,7 +252,7 @@ void RimWellAllocationPlot::updateFromWell()
}
setDescription(m_wellName + " - Allocation");
setDescription("Well Allocation: " + m_wellName +", " + m_case->timeStepStrings()[m_timeStep] + " (" + m_case->caseUserDescription() + ")");
/// Pie chart

View File

@ -42,12 +42,12 @@ RiuWellAllocationPlot::RiuWellAllocationPlot(RimWellAllocationPlot* plotDefiniti
QVBoxLayout* mainLayout = new QVBoxLayout();
this->setLayout(mainLayout);
this->layout()->setMargin(0);
this->layout()->setSpacing(0);
this->layout()->setSpacing(2);
m_titleLabel = new QLabel(this);
QFont font = m_titleLabel->font();
font.setPointSize(16);
font.setPointSize(14);
font.setBold(true);
m_titleLabel->setFont(font);