#3097 Make sure track height takes title into account

This commit is contained in:
Gaute Lindkvist 2018-06-27 11:42:51 +02:00
parent 2a9d506ae0
commit 8c445388b8

View File

@ -421,7 +421,7 @@ void RiuWellLogPlot::placeChildWidgets(int frameHeight, int frameWidth)
titleHeight = m_plotTitle->height() + 10;
}
int trackHeight = frameHeight - maxLegendHeight;
int trackHeight = frameHeight - maxLegendHeight - titleHeight;
int trackX = 0;
if (visibleTrackCount)