Make sure all tool buttons scale to base icon size

This commit is contained in:
Veronica Berglyd Olsen
2024-04-01 17:48:12 +02:00
parent c000307f14
commit 1eafa1c8b6
5 changed files with 48 additions and 17 deletions
+2 -2
View File
@@ -206,11 +206,11 @@ class GuiOutlineToolBar(QToolBar):
logger.debug("Create: GuiOutlineToolBar")
iPx = CONFIG.pxInt(22)
bPx = SHARED.theme.baseButtonHeight
mPx = CONFIG.pxInt(12)
self.setMovable(False)
self.setIconSize(QSize(iPx, iPx))
self.setIconSize(QSize(bPx, bPx))
self.setContentsMargins(0, 0, 0, 0)
stretch = QWidget(self)