Merge pull request #2891 from joechrisellis/master

Added scroll pane in install wizard confirmation dialog.
This commit is contained in:
ThomasV 2017-09-21 11:00:59 +02:00 committed by GitHub
commit 7b2ff57d0c
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