I asked about this a while back, as I could not get a defined canvas size in my tests. I never found an answer, but never understood why it didn't work:
https://lists.osgeo.org/pipermail/qgis-developer/2015-November/040392.html Tom -- View this message in context: http://osgeo-org.1560.x6.nabble.com/setting-QgsMapCanvas-size-for-testing-map-tools-tp5273987p5274142.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
