Add new-line to 2D intersection view legend title

This commit is contained in:
Jacob Støren 2018-03-08 11:00:55 +01:00
parent df0a356a0a
commit 00236c493e

View File

@ -486,12 +486,12 @@ void Rim2dIntersectionView::updateLegends()
if ( eclView->cellResult()->isTernarySaturationSelected() )
{
m_ternaryLegendConfig()->setTitle("Cell Result:");
m_ternaryLegendConfig()->setTitle("Cell Result:\n");
legend = m_ternaryLegendConfig()->legend();
}
else
{
m_legendConfig()->setTitle("Cell Result:" + eclView->cellResult()->resultVariableUiShortName());
m_legendConfig()->setTitle("Cell Result:\n" + eclView->cellResult()->resultVariableUiShortName());
legend = m_legendConfig()->legend();
}
}