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 )
{
applyLook();
updateTitleFont();
updateMarginsFromPageLayout();
reinsertPlotWidgets();
@ -594,6 +595,7 @@ void RiuMultiPlotPage::performUpdate( RiaDefines::MultiPlotPageUpdateType whatTo
if ( ( whatToUpdate & RiaDefines::MultiPlotPageUpdateType::TITLE ) == RiaDefines::MultiPlotPageUpdateType::TITLE )
{
updateTitleFont();
updateSubTitles();
}
}

View File

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