This commit is contained in:
Auric Vente
2024-07-19 21:19:59 -06:00
parent 2f83be5042
commit 45588cbe2a
2 changed files with 19 additions and 3 deletions

View File

@@ -177,6 +177,21 @@ class Window:
Window.scroll_area = QScrollArea()
Window.scroll_area.setWidgetResizable(True)
style = f"""
QScrollBar:vertical {{
border: 0px solid transparent;
background: {Config.background_color};
width: 15px;
margin: 0px 0px 0px 0px;
}}
QScrollBar::handle:vertical {{
background: {Config.scrollbar_handle_color};
min-height: 20px;
}}
"""
Window.scroll_area.setStyleSheet(style)
container = QWidget()
parent = QVBoxLayout(container)
Window.view = QVBoxLayout()