diff options
author | Jesús <heckyel@hyperbola.info> | 2019-12-23 16:36:01 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-12-23 16:36:01 -0500 |
commit | 36ab3ae1491b9e190b4c541f729a61685049b623 (patch) | |
tree | f92dbddaa2bf282705c9bbb476488d4e86be3cbd | |
parent | 621e5b4d12d31c186dd363e590d700860f71d92e (diff) | |
download | hypervideo-gui-36ab3ae1491b9e190b4c541f729a61685049b623.tar.lz hypervideo-gui-36ab3ae1491b9e190b4c541f729a61685049b623.tar.xz hypervideo-gui-36ab3ae1491b9e190b4c541f729a61685049b623.zip |
fix missing self
-rw-r--r-- | hypervideo_gui/main_ui.py | 7 |
1 files changed, 5 insertions, 2 deletions
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 |