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:
Joe Ellis 2017-09-18 23:14:12 +01:00
parent c12c1685d7
commit 77b9eac72e
1 changed files with 5 additions and 1 deletions

View File

@ -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