Improve toolbar styling for macOS

This commit is contained in:
RumovZ 2021-03-09 08:50:01 +01:00
parent 08c09bcb0f
commit 28402c7015

View file

@ -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: