0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-26 17:59:08 +03:00

Extended area has been added to page in design mode

This commit is contained in:
Arin Alexander
2017-06-02 22:11:53 +03:00
parent c4f20b78c1
commit fb494db947
3 changed files with 74 additions and 16 deletions

View File

@@ -130,7 +130,7 @@ void PageDesignIntf::updatePageRect()
}
this->setSceneRect(-Const::SCENE_MARGIN, -Const::SCENE_MARGIN,
pageItem()->geometry().width() + Const::SCENE_MARGIN*2,
pageItem()->geometry().height() + Const::SCENE_MARGIN*2);
pageItem()->boundingRect().height() + Const::SCENE_MARGIN*2);
emit sceneRectChanged(sceneRect());
}