This commit is contained in:
Kovid Goyal 2023-12-22 17:07:39 +05:30
parent 6c4a3d6a23
commit 7bc13463f2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -25,7 +25,7 @@ class Placeholder(QLabel):
super().__init__(text, parent) super().__init__(text, parent)
bg = self.backgrounds[Placeholder.bgcount] bg = self.backgrounds[Placeholder.bgcount]
Placeholder.bgcount = (Placeholder.bgcount + 1) % len(self.backgrounds) 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): class LayoutButton(QToolButton):