mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Remove hard-coded height
This commit is contained in:
parent
3495cdd4b4
commit
457f9653a8
@ -86,7 +86,7 @@ protected:
|
|||||||
for ( auto page : pages )
|
for ( auto page : pages )
|
||||||
{
|
{
|
||||||
fullSize.setWidth( std::max( fullSize.width(), page->minimumSizeHint().width() ) );
|
fullSize.setWidth( std::max( fullSize.width(), page->minimumSizeHint().width() ) );
|
||||||
fullSize.setHeight( fullSize.height() + 8 + page->minimumSizeHint().height() );
|
fullSize.setHeight( fullSize.height() + m_margins + page->minimumSizeHint().height() );
|
||||||
}
|
}
|
||||||
return fullSize;
|
return fullSize;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user