#6222 Make cursor tracker readable in well log plot.

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2021-03-19 22:00:18 +01:00
1 parent 4be622b229
commit 45d641f348
1 file changed
+2 -2
@@ -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 );