(minor) ButtonsWidget: add 10px offset because of scrollbar
This commit is contained in:
@@ -695,7 +695,7 @@ class ButtonsWidget(QWidget):
|
|||||||
|
|
||||||
def resizeButtons(self):
|
def resizeButtons(self):
|
||||||
frameWidth = self.style().pixelMetric(QStyle.PM_DefaultFrameWidth)
|
frameWidth = self.style().pixelMetric(QStyle.PM_DefaultFrameWidth)
|
||||||
x = self.rect().right() - frameWidth
|
x = self.rect().right() - frameWidth - 10
|
||||||
y = self.rect().bottom() - frameWidth
|
y = self.rect().bottom() - frameWidth
|
||||||
for button in self.buttons:
|
for button in self.buttons:
|
||||||
sz = button.sizeHint()
|
sz = button.sizeHint()
|
||||||
|
|||||||
Reference in New Issue
Block a user