Improve canvas top alignment in well log plots

This commit is contained in:
Gaute Lindkvist
2019-11-27 11:44:39 +01:00
parent 4fd9562b4b
commit 62817054c4
2 changed files with 2 additions and 8 deletions

View File

@@ -694,7 +694,7 @@ void RimWellLogTrack::updateXAxisAndGridTickIntervals()
if ( emptyRange )
{
m_plotWidget->enableGridLines( QwtPlot::xTop, false, false );
m_plotWidget->setAxisRange( QwtPlot::xTop, 0.0, 0.0 );
m_plotWidget->setAxisRange( QwtPlot::xTop, 0.0, 1.0 );
m_plotWidget->setAxisLabelsAndTicksEnabled( QwtPlot::xTop, false );
}
else