We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a5d38 commit 5ebe14bCopy full SHA for 5ebe14b
qwt/symbol.py
@@ -1177,7 +1177,7 @@ def boundingRect(self):
1177
pw = 0.0
1178
if self.__data.pen.style() != Qt.NoPen:
1179
pw = max([self.__data.pen.widthF(), 1.0])
1180
- rect.setSize(self.__data.size + QSizeF(pw, pw))
+ rect.setSize(QSizeF(self.__data.size) + QSizeF(pw, pw))
1181
rect.moveCenter(QPointF(0.0, 0.0))
1182
elif self.__data.style in (
1183
QwtSymbol.XCross,
0 commit comments