diff --git a/Makefile b/Makefile index 6d21ea549..69e777b15 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ RES = source/resources_rc.py RES: $(RES) -source/%_rc.py: resources/%.qrc +source/%_rc.py: resources/%.qrc resources/*/*.png resources/*/*.svg $(PYRCC) $< -o $@ # -------------------------------------------------------------- diff --git a/resources/bitmaps/button_file.png b/resources/bitmaps/button_file.png index 7411fcabc..c4d725c7a 100644 Binary files a/resources/bitmaps/button_file.png and b/resources/bitmaps/button_file.png differ diff --git a/resources/bitmaps/button_file_down.png b/resources/bitmaps/button_file_down.png index 921eca1b4..5d5139a36 100644 Binary files a/resources/bitmaps/button_file_down.png and b/resources/bitmaps/button_file_down.png differ diff --git a/resources/bitmaps/button_file_hover.png b/resources/bitmaps/button_file_hover.png index 901a941b9..d197e57cd 100644 Binary files a/resources/bitmaps/button_file_hover.png and b/resources/bitmaps/button_file_hover.png differ diff --git a/source/carla_shared.py b/source/carla_shared.py index e71499cc3..375cdb3ed 100644 --- a/source/carla_shared.py +++ b/source/carla_shared.py @@ -2260,7 +2260,7 @@ class PluginWidget(QFrame): painter = QPainter(self) painter.save() - areaX = self.ui.area_right.x() + areaX = self.ui.area_right.x()+7 painter.setPen(self.fColorSeprtr.lighter(110)) painter.setBrush(self.fColorBottom) @@ -2269,8 +2269,8 @@ class PluginWidget(QFrame): # name -> leds arc path = QPainterPath() path.moveTo(areaX-20, self.height()-4) - path.cubicTo(areaX+5, self.height()-5, areaX-20, 4.75, areaX+20, 4.75) - path.lineTo(areaX+20, self.height()-5) + path.cubicTo(areaX, self.height()-5, areaX-20, 4.75, areaX, 4.75) + path.lineTo(areaX, self.height()-5) painter.drawPath(path) painter.setPen(self.fColorSeprtr) @@ -2278,7 +2278,7 @@ class PluginWidget(QFrame): # separator lines painter.drawLine(0, self.height()-5, areaX-20, self.height()-5) - painter.drawLine(areaX+20, 4, self.width(), 4) + painter.drawLine(areaX, 4, self.width(), 4) painter.setPen(self.fColorBottom) painter.setBrush(self.fColorBottom) @@ -2286,11 +2286,11 @@ class PluginWidget(QFrame): # top, bottom and left lines painter.drawLine(0, 0, self.width(), 0) painter.drawRect(0, self.height()-4, areaX, 4) - painter.drawRoundedRect(areaX-20, self.height()-5, areaX+20, 5, 22, 22) + painter.drawRoundedRect(areaX-20, self.height()-5, areaX, 5, 22, 22) painter.drawLine(0, 0, 0, self.height()) # fill the rest - painter.drawRect(areaX+19, 5, self.width(), self.height()) + painter.drawRect(areaX-1, 5, self.width(), self.height()) # bottom 1px line painter.setPen(self.fColorSeprtr)