Allow multiple widgets in config form

This commit is contained in:
Veronica Berglyd Olsen
2024-05-13 18:31:14 +02:00
parent b5def640ed
commit d64acb038b
2 changed files with 18 additions and 16 deletions
+1 -9
View File
@@ -589,16 +589,8 @@ class GuiPreferences(QDialog):
self.altDialogClose.setAlignment(QtAlignCenter)
self.altDialogClose.setText(CONFIG.altDialogClose)
self.altDialogBox = QHBoxLayout()
self.altDialogBox.addWidget(self.altDialogOpen)
self.altDialogBox.addWidget(self.altDialogClose)
self.altDialogBox.setContentsMargins(0, 0, 0, 0)
self.altDialog = QWidget(self)
self.altDialog.setLayout(self.altDialogBox)
self.mainForm.addRow(
self.tr("Alternative dialog symbols"), self.altDialog,
self.tr("Alternative dialog symbols"), [self.altDialogOpen, self.altDialogClose],
self.tr("Custom highlighting of dialog text.")
)