Reduce spacing around Well Log Plot Title

This commit is contained in:
Gaute Lindkvist
2019-09-06 12:16:41 +02:00
parent 565e5b0418
commit acc9fe316e

View File

@@ -56,7 +56,6 @@ RiuWellLogPlot::RiuWellLogPlot(RimWellLogPlot* plotDefinition, QWidget* parent)
Q_ASSERT(plotDefinition);
m_plotDefinition = plotDefinition;
QPalette newPalette(palette());
newPalette.setColor(QPalette::Background, Qt::white);
setPalette(newPalette);
@@ -430,7 +429,7 @@ void RiuWellLogPlot::placeChildWidgets(int frameHeight, int frameWidth)
int titleHeight = 0;
if (m_plotTitle && m_plotTitle->isVisible())
{
titleHeight = m_plotTitle->height() + 10;
titleHeight = m_plotTitle->height() + 2;
}
int trackHeight = frameHeight - maxLegendHeight - titleHeight;