Multiplot/WLP: fix missing update of title font size

This commit is contained in:
Kristian Bendiksen 2022-08-12 10:46:26 +02:00
parent 413288df0a
commit ffc58fedc8
2 changed files with 3 additions and 0 deletions

View File

@ -577,6 +577,7 @@ void RiuMultiPlotPage::performUpdate( RiaDefines::MultiPlotPageUpdateType whatTo
if ( whatToUpdate == RiaDefines::MultiPlotPageUpdateType::ALL ) if ( whatToUpdate == RiaDefines::MultiPlotPageUpdateType::ALL )
{ {
applyLook(); applyLook();
updateTitleFont();
updateMarginsFromPageLayout(); updateMarginsFromPageLayout();
reinsertPlotWidgets(); reinsertPlotWidgets();
@ -594,6 +595,7 @@ void RiuMultiPlotPage::performUpdate( RiaDefines::MultiPlotPageUpdateType whatTo
if ( ( whatToUpdate & RiaDefines::MultiPlotPageUpdateType::TITLE ) == RiaDefines::MultiPlotPageUpdateType::TITLE ) if ( ( whatToUpdate & RiaDefines::MultiPlotPageUpdateType::TITLE ) == RiaDefines::MultiPlotPageUpdateType::TITLE )
{ {
updateTitleFont();
updateSubTitles(); updateSubTitles();
} }
} }

View File

@ -158,6 +158,7 @@ void RiuWellLogPlot::performUpdate( RiaDefines::MultiPlotPageUpdateType /* whatT
reinsertPlotWidgets(); reinsertPlotWidgets();
reinsertScrollbar(); reinsertScrollbar();
updateTitleFont();
int axisShift = alignCanvasTops(); int axisShift = alignCanvasTops();
alignScrollbar( axisShift ); alignScrollbar( axisShift );
alignAxes(); alignAxes();