mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +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->setStyleSheet(style);
|
||||||
errorLabel->setWordWrap(true);
|
errorLabel->setWordWrap(true);
|
||||||
|
auto sizePolicy = errorLabel->sizePolicy();
|
||||||
|
sizePolicy.setRetainSizeWhenHidden(true);
|
||||||
|
errorLabel->setSizePolicy(sizePolicy);
|
||||||
errorLabel->setVisible(false);
|
errorLabel->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue