diff options
author | Simon Rettberg | 2019-04-18 15:01:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-04-18 15:01:33 +0200 |
commit | 1ade5c98efaa67dfd522d3dcacdd52a8b44404e3 (patch) | |
tree | b26698229475bfeb342c87a0f1891f13c976ed20 /src/loginform.cpp | |
parent | Propery scale mini icon (diff) | |
download | slxgreeter-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.cpp | 1 |
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() |