#6222 Make cursor tracker readable in well log plot.

This commit is contained in:
Kristian Bendiksen 2021-03-19 13:49:18 +01:00 committed by Magne Sjaastad
parent 4be622b229
commit 45d641f348

View File

@ -61,11 +61,11 @@ protected:
closestCurvePoint( pos, &curveInfoText, &xAxisValueString, &depthAxisValueString, &relatedXAxis, &relatedYAxis );
if ( !closestPoint.isNull() )
{
QString str = QString( "depth = %1, value = %2" ).arg( depthAxisValueString ).arg( xAxisValueString );
QString str = QString( "%1\nDepth: %2" ).arg( xAxisValueString ).arg( depthAxisValueString );
if ( !curveInfoText.isEmpty() )
{
str = QString( "%1: " ).arg( curveInfoText ) + str;
str = QString( "%1:\n" ).arg( curveInfoText ) + str;
}
txt.setText( str );