Remove unused space caused by bottom margin

This commit is contained in:
Magne Sjaastad
2022-10-24 13:38:45 +02:00
parent a33f651bcc
commit f6bde92d81
4 changed files with 34 additions and 5 deletions

View File

@@ -78,6 +78,8 @@ RimPlotWindow::RimPlotWindow()
m_titleFontSize = caf::FontTools::RelativeSize::XXLarge;
m_legendFontSize = caf::FontTools::RelativeSize::Large;
m_bottomMargin = -1;
}
//--------------------------------------------------------------------------------------------------
@@ -286,6 +288,22 @@ QPageLayout RimPlotWindow::pageLayout() const
return defaultPageLayout;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimPlotWindow::setBottomMargin( int bottomMargin )
{
m_bottomMargin = bottomMargin;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
int RimPlotWindow::bottomMargin() const
{
return m_bottomMargin;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------