Remove the width setting from the switch widget

This commit is contained in:
Veronica Berglyd Olsen
2024-02-09 23:26:26 +01:00
parent 467772c489
commit 186cead603
7 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ class _ContentsPage(NFixedPage):
self.dblLabel = QLabel(self.tr("Chapters on odd pages"))
self.dblValue = NSwitch(self, 2*iPx, iPx)
self.dblValue = NSwitch(self, height=iPx)
self.dblValue.setChecked(clearDouble)
self.dblValue.clicked.connect(self._populateTree)