mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +03:00
AccountWizard: Reserve space for error label #6546
This commit is contained in:
parent
a6179876c7
commit
a1d6af60f0
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ namespace WizardCommon {
|
|||
|
||||
errorLabel->setStyleSheet(style);
|
||||
errorLabel->setWordWrap(true);
|
||||
auto sizePolicy = errorLabel->sizePolicy();
|
||||
sizePolicy.setRetainSizeWhenHidden(true);
|
||||
errorLabel->setSizePolicy(sizePolicy);
|
||||
errorLabel->setVisible(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue