mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3097 Make sure track height takes title into account
This commit is contained in:
@@ -421,7 +421,7 @@ void RiuWellLogPlot::placeChildWidgets(int frameHeight, int frameWidth)
|
|||||||
titleHeight = m_plotTitle->height() + 10;
|
titleHeight = m_plotTitle->height() + 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
int trackHeight = frameHeight - maxLegendHeight;
|
int trackHeight = frameHeight - maxLegendHeight - titleHeight;
|
||||||
int trackX = 0;
|
int trackX = 0;
|
||||||
|
|
||||||
if (visibleTrackCount)
|
if (visibleTrackCount)
|
||||||
|
|||||||
Reference in New Issue
Block a user