From ab1f2429a77d1c366f4f4b44b0cb67ec95025f54 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 2 Feb 2020 13:09:02 +1000 Subject: [PATCH] formatting --- qt/aqt/browser.py | 6 ++++-- qt/aqt/theme.py | 9 +++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/qt/aqt/browser.py b/qt/aqt/browser.py index b9917e0aa..6080dab34 100644 --- a/qt/aqt/browser.py +++ b/qt/aqt/browser.py @@ -806,9 +806,11 @@ class Browser(QMainWindow): ) elif theme_manager.macos_dark_mode(): grid = theme_manager.str_color("frame-bg") - self.form.tableView.setStyleSheet(f""" + self.form.tableView.setStyleSheet( + f""" QTableView {{ gridline-color: {grid} }} - """) + """ + ) self.singleCard = False def setupEditor(self): diff --git a/qt/aqt/theme.py b/qt/aqt/theme.py index 81541375f..fc390bf51 100644 --- a/qt/aqt/theme.py +++ b/qt/aqt/theme.py @@ -142,10 +142,11 @@ QScrollBar::sub-line { } QTabWidget { background-color: %s; } -""" % (self.str_color("window-bg"), - colors.get("fusion-button-hover-bg"), - self.str_color("window-bg") - ) +""" % ( + self.str_color("window-bg"), + colors.get("fusion-button-hover-bg"), + self.str_color("window-bg"), + ) # allow addons to modify the styling buf = gui_hooks.style_did_init(buf)