mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Well Alloc Plot: Added case and timestep to title, Adjusted font.
This commit is contained in:
parent
c613c389f3
commit
01864aee09
@ -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
|
/// Pie chart
|
||||||
|
|
||||||
|
@ -42,12 +42,12 @@ RiuWellAllocationPlot::RiuWellAllocationPlot(RimWellAllocationPlot* plotDefiniti
|
|||||||
QVBoxLayout* mainLayout = new QVBoxLayout();
|
QVBoxLayout* mainLayout = new QVBoxLayout();
|
||||||
this->setLayout(mainLayout);
|
this->setLayout(mainLayout);
|
||||||
this->layout()->setMargin(0);
|
this->layout()->setMargin(0);
|
||||||
this->layout()->setSpacing(0);
|
this->layout()->setSpacing(2);
|
||||||
|
|
||||||
m_titleLabel = new QLabel(this);
|
m_titleLabel = new QLabel(this);
|
||||||
|
|
||||||
QFont font = m_titleLabel->font();
|
QFont font = m_titleLabel->font();
|
||||||
font.setPointSize(16);
|
font.setPointSize(14);
|
||||||
font.setBold(true);
|
font.setBold(true);
|
||||||
m_titleLabel->setFont(font);
|
m_titleLabel->setFont(font);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user