mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
AccountWizard: Reserve space for error label #6546
This commit is contained in:
parent
5c69130300
commit
de77514671
@ -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 New Issue
Block a user