commit bf4a9d7909ac98332fbec93e256032b1fad8e3c3
parent dbd77b7d8e5b4542042bc8a262435f45d77706c0
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 5 Mar 2020 10:47:42 +0100
(minor) ButtonsWidget: add 10px offset because of scrollbar
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/util.py b/electrum/gui/qt/util.py
@@ -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()