mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-20 11:48:35 -06:00
Improve font selection in plot axis properties
This commit is contained in:
parent
052dd38ab1
commit
342f4a8ac6
@ -151,6 +151,10 @@ QList<caf::PdmOptionItemInfo>
|
||||
options.push_back( caf::PdmOptionItemInfo( uiText, value ) );
|
||||
}
|
||||
}
|
||||
else if ( fieldNeedingOptions == &m_titleFontSize || fieldNeedingOptions == &m_valuesFontSize )
|
||||
{
|
||||
options = caf::FontTools::relativeSizeValueOptions( RiaPreferences::current()->defaultPlotFontSize() );
|
||||
}
|
||||
|
||||
return options;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user