mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add font size to text content frame
This commit is contained in:
@@ -1756,7 +1756,7 @@ void RimEnsembleCurveSet::updateObjectiveFunctionLegend()
|
||||
}
|
||||
if ( !title.isEmpty() && !description.isEmpty() )
|
||||
{
|
||||
m_objectiveFunctionOverlayFrame->setContentFrame( new RiuTextContentFrame( nullptr, title, description ) );
|
||||
m_objectiveFunctionOverlayFrame->setContentFrame( new RiuTextContentFrame( nullptr, title, description, -1 ) );
|
||||
m_objectiveFunctionOverlayFrame->setMaximumWidth( 10000 );
|
||||
plot->plotWidget()->addOverlayFrame( m_objectiveFunctionOverlayFrame );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user