mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-16 02:55:23 -06:00
Remove unused space caused by bottom margin
This commit is contained in:
1 parent
a33f651bcc
commit
f6bde92d81
4 files changed
+34
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user