#4341 Make docked plots follow font size preferences (but subtract 1 in point size)

* The docked plots have much less space available than most plots
This commit is contained in:
Gaute Lindkvist
2019-04-15 15:01:58 +02:00
parent 93f76d9739
commit edf46496b7
15 changed files with 193 additions and 17 deletions

View File

@@ -1817,6 +1817,17 @@ void RiuMainWindow::setDefaultToolbarVisibility()
m_holoLensToolBar->hide();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RiuMainWindow::applyFontSizesToDockedPlots()
{
m_resultQwtPlot->applyFontSizes(true);
m_mohrsCirclePlot->applyFontSizes(true);
m_relPermPlotPanel->applyFontSizes(true);
m_pvtPlotPanel->applyFontSizes(true);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------