Index: src/gui/qgsmapcanvas.cpp =================================================================== --- src/gui/qgsmapcanvas.cpp (revision 9071) +++ src/gui/qgsmapcanvas.cpp (working copy) @@ -654,6 +654,18 @@ } break; + case Qt::Key_PageUp: + QgsDebugMsg("Zoom in"); + + zoom(true); + break; + + case Qt::Key_PageDown: + QgsDebugMsg("Zoom out"); + + zoom(false); + break; + default: // Pass it on if(mMapTool) @@ -798,10 +810,10 @@ int height = lastSize.height(); lastSize = QSize(-1,-1); + mMap->resize(QSize(width,height)); + mScene->setSceneRect(QRectF(0,0,width, height)); - mMap->resize(QSize(width,height)); - // notify canvas items of change updateCanvasItemsPositions();