Janitor : Remove hard-coded height

This commit is contained in:
Magne Sjaastad 2022-01-10 15:53:14 +01:00
parent 3495cdd4b4
commit 457f9653a8

View File

@ -86,7 +86,7 @@ protected:
for ( auto page : pages )
{
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;
}