AccountWizard: Reserve space for error label #6546

This commit is contained in:
Christian Kamm 2018-05-25 08:44:03 +02:00
parent 5c69130300
commit de77514671

View File

@ -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);
}