From d436a51024b9820b5a0f7f22d5f4c38ec977dfbf Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 26 Aug 2020 09:59:56 +0200 Subject: [PATCH] About: Fix cutting of icon (#11946) --- src/frontends/qt/GuiAbout.cpp | 1 + src/frontends/qt/ui/AboutUi.ui | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt/GuiAbout.cpp b/src/frontends/qt/GuiAbout.cpp index f72f97d751..f3e58e2fb4 100644 --- a/src/frontends/qt/GuiAbout.cpp +++ b/src/frontends/qt/GuiAbout.cpp @@ -328,6 +328,7 @@ GuiAbout::GuiAbout(GuiView & lv) d->ui.iconLA->setPixmap(icon.scaled(iconsize, iconsize, Qt::IgnoreAspectRatio, Qt::SmoothTransformation)); + d->ui.iconLA->setFixedWidth(iconsize); d->ui.dirLibraryLA->setText(dirLibrary()); d->ui.dirUserLA->setText(dirUser()); d->ui.buildinfoTB->setText(buildinfo()); diff --git a/src/frontends/qt/ui/AboutUi.ui b/src/frontends/qt/ui/AboutUi.ui index 9f658a2b0a..89b7e41357 100644 --- a/src/frontends/qt/ui/AboutUi.ui +++ b/src/frontends/qt/ui/AboutUi.ui @@ -7,7 +7,7 @@ 0 0 475 - 386 + 387 @@ -29,10 +29,13 @@ + + QLayout::SetFixedSize + - + 0 0