Update widget flow on preferences dialog

This commit is contained in:
Veronica Berglyd Olsen committed 2024-01-27 18:06:41 +01:00
1 parent 51314804bf
commit 6c75bdecdc
2 files changed
+75 -134

No files matched your search

-8
View File
@@ -71,14 +71,6 @@ class NPagedSideBar(QToolBar):
self._labelCol = color
return
def addSeparator(self) -> None:
"""Add a spacer widget."""
spacer = QWidget(self)
spacer.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
spacer.setFixedHeight(self._spacerHeight)
self.insertWidget(self._stretchAction, spacer)
return
def addLabel(self, text: str) -> None:
"""Add a new label to the toolbar."""
label = _NPagedToolLabel(self, self._labelCol)