summaryrefslogtreecommitdiffstats
path: root/src/loginform.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-18 15:01:33 +0200
committerSimon Rettberg2019-04-18 15:01:33 +0200
commit1ade5c98efaa67dfd522d3dcacdd52a8b44404e3 (patch)
treeb26698229475bfeb342c87a0f1891f13c976ed20 /src/loginform.cpp
parentPropery scale mini icon (diff)
downloadslxgreeter-1ade5c98efaa67dfd522d3dcacdd52a8b44404e3.tar.gz
slxgreeter-1ade5c98efaa67dfd522d3dcacdd52a8b44404e3.tar.xz
slxgreeter-1ade5c98efaa67dfd522d3dcacdd52a8b44404e3.zip
Fix: mini-icon might get cropped if > 95px
Layout with Qt is fun...
Diffstat (limited to 'src/loginform.cpp')
-rw-r--r--src/loginform.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loginform.cpp b/src/loginform.cpp
index a7252b5..b8db5cf 100644
--- a/src/loginform.cpp
+++ b/src/loginform.cpp
@@ -100,6 +100,7 @@ void LoginForm::initialize()
ui->leaveComboBox->setDisabled(ui->leaveComboBox->count() <= 1);
ui->passwordInput->clear();
+ this->layout()->setSizeConstraint(QLayout::SetFixedSize);
}
void LoginForm::startAuthentication()