diff options
author | Ken Moore <ken@ixsystems.com> | 2017-05-26 17:22:18 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-05-26 17:22:18 -0400 |
commit | bf4c5e1358ce687ab9ad82fa1980077ca7028288 (patch) | |
tree | bfb821ee848aab1e2016968ce29112d860ef4323 /src-qt5/core/lumina-desktop/BootSplash.cpp | |
parent | Turn off some debugging output in the LIconCache class. (diff) | |
download | lumina-bf4c5e1358ce687ab9ad82fa1980077ca7028288.tar.gz lumina-bf4c5e1358ce687ab9ad82fa1980077ca7028288.tar.bz2 lumina-bf4c5e1358ce687ab9ad82fa1980077ca7028288.zip |
Adjust a couple size measurements so they work better across both normal and high-DPI screens.
Diffstat (limited to 'src-qt5/core/lumina-desktop/BootSplash.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/BootSplash.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/BootSplash.cpp b/src-qt5/core/lumina-desktop/BootSplash.cpp index 1a648973..d2850aee 100644 --- a/src-qt5/core/lumina-desktop/BootSplash.cpp +++ b/src-qt5/core/lumina-desktop/BootSplash.cpp @@ -7,6 +7,8 @@ BootSplash::BootSplash() : QWidget(0, Qt::SplashScreen | Qt::X11BypassWindowManagerHint | Qt::WindowStaysOnTopHint | Qt::WindowDoesNotAcceptFocus), ui(new Ui::BootSplash){ ui->setupUi(this); + this->setMinimumHeight( this->fontMetrics().height() * 12); + this->setMinimumWidth( this->minimumHeight() * 1.5); this->setObjectName("LuminaBootSplash"); //for theme styling //Center the window on the primary screen QPoint ctr = QApplication::desktop()->screenGeometry().center(); |