mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set a sensible font size for Plot symbol labels (i.e. "P10", "P90" etc)
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "RiaCurveDataTools.h"
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaPreferences.h"
|
||||
|
||||
#include "RimEnsembleCurveSet.h"
|
||||
#include "RimEnsembleCurveSetCollection.h"
|
||||
@@ -658,7 +659,10 @@ void RimPlotCurve::updateCurveAppearance()
|
||||
if ( m_pointSymbol() != RiuQwtSymbol::SYMBOL_NONE )
|
||||
{
|
||||
// QwtPlotCurve will take ownership of the symbol
|
||||
symbol = new RiuQwtSymbol( m_pointSymbol(), m_symbolLabel(), m_symbolLabelPosition() );
|
||||
symbol = new RiuQwtSymbol( m_pointSymbol(),
|
||||
m_symbolLabel(),
|
||||
m_symbolLabelPosition(),
|
||||
RiaApplication::instance()->preferences()->defaultPlotFontSize() );
|
||||
symbol->setSize( m_symbolSize, m_symbolSize );
|
||||
symbol->setColor( curveColor );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user