From dfac2c520b6f994fa55c382a10812d9da1582872 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 31 Jan 2023 14:29:44 +0100 Subject: Only force frame height --- src/loginform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loginform.cpp b/src/loginform.cpp index 21fe823..c4ffe14 100644 --- a/src/loginform.cpp +++ b/src/loginform.cpp @@ -139,7 +139,7 @@ void LoginForm::initialize() ui->iconLabel->setPixmap(pixmap); ui->iconLabel->setFixedSize(pixmap.size()); - ui->frame->setFixedSize(pixmap.size()); + ui->frame->setFixedHeight(pixmap.height() + 2); ui->leaveComboBox->setView(new QListView()); // This is required to get the stylesheet to apply -- cgit v1.2.3-55-g7522