0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-02 03:53:19 +03:00

Drawing of report items borders has been fixed

This commit is contained in:
Arin Alexander
2019-07-31 00:28:45 +03:00
parent 0affcfdeac
commit 09e95cd633
4 changed files with 22 additions and 13 deletions

View File

@@ -97,7 +97,9 @@ BaseDesignIntf::BaseDesignIntf(const QString &storageTypeName, QObject *owner, Q
QRectF BaseDesignIntf::boundingRect() const
{
return rect();
qreal halfpw = pen().widthF() / 2;
halfpw += 2;
return rect().adjusted(-halfpw, -halfpw, halfpw, halfpw);
}
BaseDesignIntf::~BaseDesignIntf(void) {