Navigation Menu

Skip to content

Commit

Permalink
Fix page resize
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 17, 2012
1 parent cabff38 commit f064cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/composer/qgscomposition.cpp
Expand Up @@ -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 );
}
}

Expand Down

0 comments on commit f064cb0

Please sign in to comment.