mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
StimPlan : Use \n instead of space in curve names
Improve readability of legend text when many curves are present
This commit is contained in:
1 parent
efef18e03e
commit
4af309a53c
1 file changed
+4
-1
@@ -167,5 +167,8 @@ void RimStimPlanModelCurve::performDataExtraction( bool* isUsingPseudoLength )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimStimPlanModelCurve::createCurveAutoName()
|
||||
{
|
||||
return caf::AppEnum<RiaDefines::CurveProperty>::uiText( m_curveProperty() );
|
||||
QString textWithLineFeed = caf::AppEnum<RiaDefines::CurveProperty>::uiText( m_curveProperty() ).trimmed();
|
||||
textWithLineFeed.replace( " ", "\n" );
|
||||
|
||||
return textWithLineFeed;
|
||||
}
|
||||
Reference in new issue
Block a user