Mods
This commit is contained in:
@@ -89,9 +89,9 @@ class Window:
|
||||
}}
|
||||
""".strip()
|
||||
|
||||
Window.app.setStyleSheet(style)
|
||||
Window.app.setFont(Window.font)
|
||||
Window.root.setContentsMargins(0, 0, 0, 0)
|
||||
Window.app.setStyleSheet(style)
|
||||
|
||||
@staticmethod
|
||||
def add_buttons() -> None:
|
||||
@@ -139,19 +139,6 @@ class Window:
|
||||
Window.scroll_area = QScrollArea()
|
||||
Window.scroll_area.setWidgetResizable(True)
|
||||
|
||||
# image_path = str(Config.logo_path)
|
||||
# image_url = QUrl.fromLocalFile(image_path).toString()
|
||||
|
||||
# style = f"""
|
||||
# QWidget {{
|
||||
# background-image: url({image_url});
|
||||
# background-repeat: no-repeat;
|
||||
# background-position: center;
|
||||
# }}
|
||||
# """
|
||||
|
||||
# Window.scroll_area.setStyleSheet(style)
|
||||
|
||||
container = QWidget()
|
||||
parent = QVBoxLayout(container)
|
||||
Window.view = QVBoxLayout()
|
||||
|
Reference in New Issue
Block a user