From a1d6af60f02427a873a89d5558d5850aa55db938 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Fri, 25 May 2018 08:44:03 +0200 Subject: [PATCH] AccountWizard: Reserve space for error label #6546 --- src/gui/wizard/owncloudwizardcommon.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/wizard/owncloudwizardcommon.cpp b/src/gui/wizard/owncloudwizardcommon.cpp index 229987ece..cf27126dd 100644 --- a/src/gui/wizard/owncloudwizardcommon.cpp +++ b/src/gui/wizard/owncloudwizardcommon.cpp @@ -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); }