formatting

This commit is contained in:
Damien Elmes 2020-02-02 13:09:02 +10:00
parent 91326ec6d9
commit ab1f2429a7
2 changed files with 9 additions and 6 deletions

View File

@ -806,9 +806,11 @@ class Browser(QMainWindow):
) )
elif theme_manager.macos_dark_mode(): elif theme_manager.macos_dark_mode():
grid = theme_manager.str_color("frame-bg") grid = theme_manager.str_color("frame-bg")
self.form.tableView.setStyleSheet(f""" self.form.tableView.setStyleSheet(
f"""
QTableView {{ gridline-color: {grid} }} QTableView {{ gridline-color: {grid} }}
""") """
)
self.singleCard = False self.singleCard = False
def setupEditor(self): def setupEditor(self):

View File

@ -142,10 +142,11 @@ QScrollBar::sub-line {
} }
QTabWidget { background-color: %s; } 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 # allow addons to modify the styling
buf = gui_hooks.style_did_init(buf) buf = gui_hooks.style_did_init(buf)