diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-30 00:16:33 -0400 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-30 00:16:33 -0400 |
| commit | 0326668bdcab2ff21609625b735a3f3d4d78a10e (patch) | |
| tree | 74c18121086edd1f638fd151a45c7b62412169b4 | |
| parent | 2f2478ddc2fec0195298debf5e241800df7fbf15 (diff) | |
Better rect size on the grid
| -rw-r--r-- | sigmodr/widgets/mapeditor/MapGrid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sigmodr/widgets/mapeditor/MapGrid.cpp b/sigmodr/widgets/mapeditor/MapGrid.cpp index 54f633dd..88cd6951 100644 --- a/sigmodr/widgets/mapeditor/MapGrid.cpp +++ b/sigmodr/widgets/mapeditor/MapGrid.cpp @@ -32,7 +32,7 @@ MapGrid::MapGrid() : QRectF MapGrid::boundingRect() const { - return QRect(-5, -5, m_width + 5, m_height + 5); + return QRect(-5, -5, m_width + 10, m_height + 10); } void MapGrid::paint(QPainter* painter, const QStyleOptionGraphicsItem* options, QWidget* widget) |
