1
0

(minor) ButtonsWidget: add 10px offset because of scrollbar

This commit is contained in:
ThomasV
2020-03-05 10:47:42 +01:00
parent dbd77b7d8e
commit bf4a9d7909

View File

@@ -695,7 +695,7 @@ class ButtonsWidget(QWidget):
def resizeButtons(self):
frameWidth = self.style().pixelMetric(QStyle.PM_DefaultFrameWidth)
x = self.rect().right() - frameWidth
x = self.rect().right() - frameWidth - 10
y = self.rect().bottom() - frameWidth
for button in self.buttons:
sz = button.sizeHint()