From 28402c701578731d9ea19216fd20f434ada86ee1 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Tue, 9 Mar 2021 08:50:01 +0100 Subject: [PATCH] Improve toolbar styling for macOS --- qt/aqt/sidebar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt/aqt/sidebar.py b/qt/aqt/sidebar.py index 9d4f512a7..ede513fc0 100644 --- a/qt/aqt/sidebar.py +++ b/qt/aqt/sidebar.py @@ -287,7 +287,8 @@ class SidebarToolbar(QToolBar): self._action_group = QActionGroup(self) qconnect(self._action_group.triggered, self._on_action_group_triggered) self._setup_tools() - self.setIconSize(QSize(18, 18)) + self.setIconSize(QSize(16, 16)) + self.setStyle(QStyleFactory.create("fusion")) def _setup_tools(self) -> None: for row in self._tools: