aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-12-23 16:36:01 -0500
committerJesús <heckyel@hyperbola.info>2019-12-23 16:36:01 -0500
commit36ab3ae1491b9e190b4c541f729a61685049b623 (patch)
treef92dbddaa2bf282705c9bbb476488d4e86be3cbd
parent621e5b4d12d31c186dd363e590d700860f71d92e (diff)
downloadhypervideo-gui-36ab3ae1491b9e190b4c541f729a61685049b623.tar.lz
hypervideo-gui-36ab3ae1491b9e190b4c541f729a61685049b623.tar.xz
hypervideo-gui-36ab3ae1491b9e190b4c541f729a61685049b623.zip
fix missing self
-rw-r--r--hypervideo_gui/main_ui.py7
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