mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add new-line to 2D intersection view legend title
This commit is contained in:
@@ -486,12 +486,12 @@ void Rim2dIntersectionView::updateLegends()
|
|||||||
|
|
||||||
if ( eclView->cellResult()->isTernarySaturationSelected() )
|
if ( eclView->cellResult()->isTernarySaturationSelected() )
|
||||||
{
|
{
|
||||||
m_ternaryLegendConfig()->setTitle("Cell Result:");
|
m_ternaryLegendConfig()->setTitle("Cell Result:\n");
|
||||||
legend = m_ternaryLegendConfig()->legend();
|
legend = m_ternaryLegendConfig()->legend();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_legendConfig()->setTitle("Cell Result:" + eclView->cellResult()->resultVariableUiShortName());
|
m_legendConfig()->setTitle("Cell Result:\n" + eclView->cellResult()->resultVariableUiShortName());
|
||||||
legend = m_legendConfig()->legend();
|
legend = m_legendConfig()->legend();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user