From ffc58fedc8f5a29165501064f8d5259cd8d5a042 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Fri, 12 Aug 2022 10:46:26 +0200 Subject: [PATCH] Multiplot/WLP: fix missing update of title font size --- ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp | 2 ++ ApplicationLibCode/UserInterface/RiuWellLogPlot.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp b/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp index 186811e92f..29fd299325 100644 --- a/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp +++ b/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp @@ -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(); } } diff --git a/ApplicationLibCode/UserInterface/RiuWellLogPlot.cpp b/ApplicationLibCode/UserInterface/RiuWellLogPlot.cpp index caf9ad6658..47fb3c94bb 100644 --- a/ApplicationLibCode/UserInterface/RiuWellLogPlot.cpp +++ b/ApplicationLibCode/UserInterface/RiuWellLogPlot.cpp @@ -158,6 +158,7 @@ void RiuWellLogPlot::performUpdate( RiaDefines::MultiPlotPageUpdateType /* whatT reinsertPlotWidgets(); reinsertScrollbar(); + updateTitleFont(); int axisShift = alignCanvasTops(); alignScrollbar( axisShift ); alignAxes();