From 36ab3ae1491b9e190b4c541f729a61685049b623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 23 Dec 2019 16:36:01 -0500 Subject: fix missing self --- hypervideo_gui/main_ui.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'hypervideo_gui/main_ui.py') diff --git a/hypervideo_gui/main_ui.py b/hypervideo_gui/main_ui.py index 474b6a7..aff6ce2 100644 --- a/hypervideo_gui/main_ui.py +++ b/hypervideo_gui/main_ui.py @@ -462,14 +462,15 @@ def debugging(var): def ui_style_sheet(self): ''' Style UI ''' - return """ + self.mystyle = """ QStatusBar { font-family: DejaVu Sans; font-size: 8pt; color: #666666; } -QProgressBar:horizontal { +QProgressBar:horizontal +{ border: 1px solid gray; text-align: top; padding: 1px; @@ -492,3 +493,5 @@ border-radius: 3px; border: 1px solid black; } """ + style = self.mystyle + return style -- cgit v1.2.3