mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix font size for summary plot axes
This commit is contained in:
parent
98124a177e
commit
2237be3898
@ -1050,9 +1050,8 @@ void RimSummaryPlot::updateTimeAxis()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_plotWidget->setAxisFontsAndAlignment( QwtPlot::xBottom,
|
m_plotWidget->setAxisFontsAndAlignment( QwtPlot::xBottom,
|
||||||
caf::FontTools::pointSizeToPixelSize( m_timeAxisProperties->titleFontSize() ),
|
m_timeAxisProperties->titleFontSize(),
|
||||||
caf::FontTools::pointSizeToPixelSize(
|
m_timeAxisProperties->valuesFontSize(),
|
||||||
m_timeAxisProperties->valuesFontSize() ),
|
|
||||||
true,
|
true,
|
||||||
alignment );
|
alignment );
|
||||||
m_plotWidget->setAxisTitleText( QwtPlot::xBottom, m_timeAxisProperties->title() );
|
m_plotWidget->setAxisTitleText( QwtPlot::xBottom, m_timeAxisProperties->title() );
|
||||||
|
@ -127,8 +127,8 @@ void RimSummaryPlotAxisFormatter::applyAxisPropertiesToPlot( RiuQwtPlotWidget* q
|
|||||||
}
|
}
|
||||||
qwtPlot->setAxisTitleText( m_axisProperties->qwtPlotAxisType(), axisTitle );
|
qwtPlot->setAxisTitleText( m_axisProperties->qwtPlotAxisType(), axisTitle );
|
||||||
qwtPlot->setAxisFontsAndAlignment( m_axisProperties->qwtPlotAxisType(),
|
qwtPlot->setAxisFontsAndAlignment( m_axisProperties->qwtPlotAxisType(),
|
||||||
caf::FontTools::pointSizeToPixelSize( m_axisProperties->titleFontSize() ),
|
m_axisProperties->titleFontSize(),
|
||||||
caf::FontTools::pointSizeToPixelSize( m_axisProperties->valuesFontSize() ),
|
m_axisProperties->valuesFontSize(),
|
||||||
true,
|
true,
|
||||||
titleAlignment );
|
titleAlignment );
|
||||||
qwtPlot->setAxisTitleEnabled( m_axisProperties->qwtPlotAxisType(), true );
|
qwtPlot->setAxisTitleEnabled( m_axisProperties->qwtPlotAxisType(), true );
|
||||||
|
Loading…
Reference in New Issue
Block a user