mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
b60ab35421
commit
47091ea28a
@ -315,6 +315,7 @@ class lazyscrollflow(ScrollArea):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setStyleSheet("background: transparent;")
|
||||
self.widgets = []
|
||||
self.fakegeos = []
|
||||
self._spacing = 6
|
||||
@ -634,9 +635,10 @@ class stackedlist(ScrollArea):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setStyleSheet("""QScrollArea{background-color:transparent;border:0px}""")
|
||||
self.setStyleSheet("""QWidget#shit{background-color:transparent;}QScrollArea{background-color:transparent;border:0px}""")
|
||||
self.setWidgetResizable(True)
|
||||
internal = QWidget()
|
||||
internal.setObjectName('shit')
|
||||
self.setWidget(internal)
|
||||
self.lay = QVBoxLayout()
|
||||
self.lay.setAlignment(Qt.AlignmentFlag.AlignTop)
|
||||
|
Loading…
x
Reference in New Issue
Block a user