From 120dd1c40d81b07e10c6e1c511cefcfa0d3470dc Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 8 Sep 2018 21:23:51 +0200 Subject: [PATCH] Fix rack-interior-right drawing offset --- source/frontend/widgets/racklistwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/frontend/widgets/racklistwidget.py b/source/frontend/widgets/racklistwidget.py index 2df9e2ab1..8cdf42312 100644 --- a/source/frontend/widgets/racklistwidget.py +++ b/source/frontend/widgets/racklistwidget.py @@ -363,7 +363,7 @@ class RackListWidget(QListWidget): def paintEvent(self, event): painter = QPainter(self.viewport()) painter.drawTiledPixmap(0, 0, self.fPixmapWidth, self.height(), self.fPixmapL) - painter.drawTiledPixmap(self.width()-self.fPixmapWidth-2, 0, self.fPixmapWidth, self.height(), self.fPixmapR) + painter.drawTiledPixmap(self.width()-self.fPixmapWidth, 0, self.fPixmapWidth, self.height(), self.fPixmapR) QListWidget.paintEvent(self, event) # --------------------------------------------------------------------------------------------------------