Skip to content
Permalink
Browse files
Fix page resize
  • Loading branch information
mhugent committed Jul 17, 2012
1 parent cabff38 commit f064cb0dc10a58bf29bfe6d3dae93fdb5f612553
Showing 1 changed file with 2 additions and 2 deletions.
@@ -67,8 +67,8 @@ void QgsComposition::setPaperSize( double width, double height )
double currentY = 0;
for ( int i = 0; i < mPages.size(); ++i )
{
mPages.at( i )->setRect( QRectF( 0, currentY, width, height ) );
++currentY;
mPages.at( i )->setSceneRect( QRectF( 0, currentY, width, height ) );
currentY += ( height + mSpaceBetweenPages );
}
}

0 comments on commit f064cb0

Please sign in to comment.