From 01864aee094f0c41af32935bcaf3fabe89e8e958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Fri, 3 Feb 2017 08:51:43 +0100 Subject: [PATCH] Well Alloc Plot: Added case and timestep to title, Adjusted font. --- .../ProjectDataModel/Flow/RimWellAllocationPlot.cpp | 2 +- ApplicationCode/UserInterface/RiuWellAllocationPlot.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp b/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp index 8fc067f32a..aea11a7ff9 100644 --- a/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp +++ b/ApplicationCode/ProjectDataModel/Flow/RimWellAllocationPlot.cpp @@ -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 diff --git a/ApplicationCode/UserInterface/RiuWellAllocationPlot.cpp b/ApplicationCode/UserInterface/RiuWellAllocationPlot.cpp index 611151ad09..16c12ffb57 100644 --- a/ApplicationCode/UserInterface/RiuWellAllocationPlot.cpp +++ b/ApplicationCode/UserInterface/RiuWellAllocationPlot.cpp @@ -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);