mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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:
parent
efef18e03e
commit
4af309a53c
@ -167,5 +167,8 @@ void RimStimPlanModelCurve::performDataExtraction( bool* isUsingPseudoLength )
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
QString RimStimPlanModelCurve::createCurveAutoName()
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user