diff --git a/qt/aqt/theme.py b/qt/aqt/theme.py index dd2ba2184..b29e150ce 100644 --- a/qt/aqt/theme.py +++ b/qt/aqt/theme.py @@ -253,12 +253,14 @@ class ThemeManager: custom_styles.tabwidget(self), custom_styles.table(self), custom_styles.spinbox(self), - custom_styles.scrollbar(self), custom_styles.slider(self), custom_styles.splitter(self), ] ) + if not is_mac: + buf += custom_styles.scrollbar(self) + # allow addons to modify the styling buf = gui_hooks.style_did_init(buf) @@ -270,7 +272,6 @@ class ThemeManager: if ( aqt.mw.pm.get_widget_style() == AnkiStyles.NATIVE and aqt.mw.pm.theme() == Theme.FOLLOW_SYSTEM - and qtmajor > 5 ): app.setStyle(QStyleFactory.create(self._default_style)) # type: ignore self.default_palette.setColor(