mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
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
7d1f956b57
commit
e90f14492e
1 changed files with 5 additions and 1 deletions
|
@ -423,8 +423,12 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
||||||
self.confirm(message, title)
|
self.confirm(message, title)
|
||||||
|
|
||||||
def confirm(self, message, title):
|
def confirm(self, message, title):
|
||||||
|
area = QScrollArea()
|
||||||
|
label = WWLabel(message)
|
||||||
|
area.setWidget(label)
|
||||||
|
|
||||||
vbox = QVBoxLayout()
|
vbox = QVBoxLayout()
|
||||||
vbox.addWidget(WWLabel(message))
|
vbox.addWidget(area)
|
||||||
self.exec_layout(vbox, title)
|
self.exec_layout(vbox, title)
|
||||||
|
|
||||||
@wizard_dialog
|
@wizard_dialog
|
||||||
|
|
Loading…
Add table
Reference in a new issue