From 77b9eac72e29fad235f1c18e625137d2a4503d0e Mon Sep 17 00:00:00 2001 From: Joe Ellis Date: Mon, 18 Sep 2017 23:14:12 +0100 Subject: [PATCH] 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. --- gui/qt/installwizard.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 4e1b3f3a..8b02e3d6 100644 --- a/gui/qt/installwizard.py +++ b/gui/qt/installwizard.py @@ -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