Update widget flow on preferences dialog

This commit is contained in:
Veronica Berglyd Olsen
2024-01-27 18:06:41 +01:00
parent 51314804bf
commit 6c75bdecdc
2 changed files with 75 additions and 134 deletions
-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)