Added scroll pane in install wizard confirmation dialog.
Prevent cropping of text that occurs when you have just a label. In response to issue 2888.
This commit is contained in:
parent
c12c1685d7
commit
77b9eac72e
|
@ -423,8 +423,12 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||
self.confirm(message, title)
|
||||
|
||||
def confirm(self, message, title):
|
||||
area = QScrollArea()
|
||||
label = WWLabel(message)
|
||||
area.setWidget(label)
|
||||
|
||||
vbox = QVBoxLayout()
|
||||
vbox.addWidget(WWLabel(message))
|
||||
vbox.addWidget(area)
|
||||
self.exec_layout(vbox, title)
|
||||
|
||||
@wizard_dialog
|
||||
|
|
Loading…
Reference in New Issue