This commit is contained in:
Kovid Goyal
2023-12-22 17:07:39 +05:30
parent 6c4a3d6a23
commit 7bc13463f2
+1 -1
View File
@@ -25,7 +25,7 @@ class Placeholder(QLabel):
super().__init__(text, parent)
bg = self.backgrounds[Placeholder.bgcount]
Placeholder.bgcount = (Placeholder.bgcount + 1) % len(self.backgrounds)
self.setStyleSheet(f'QLabel {{ background: {bg} }}')
self.setStyleSheet(f'QLabel {{ background: {bg};\nborder: 1px solid red; }}')
class LayoutButton(QToolButton):