From fe9f4263f98ac5cabc058ab13c511320a9fe48e9 Mon Sep 17 00:00:00 2001 From: AshBastian Date: Wed, 29 Jan 2020 13:47:52 +0100 Subject: [PATCH] =?UTF-8?q?Button=20Size=20an=20Destopaufl=C3=B6sung=20gek?= =?UTF-8?q?oppelt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/GUI/IntelliPhotoGui.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/GUI/IntelliPhotoGui.cpp b/src/GUI/IntelliPhotoGui.cpp index b0e9137..b0c4de6 100644 --- a/src/GUI/IntelliPhotoGui.cpp +++ b/src/GUI/IntelliPhotoGui.cpp @@ -332,6 +332,7 @@ void IntelliPhotoGui::slotEnterPressed(){ void IntelliPhotoGui::slotResetTools(){ CircleButton->setChecked(false); FloodFillButton->setChecked(false); + GradientButton->setChecked(false); LineButton->setChecked(false); PenButton->setChecked(false); PlainButton->setChecked(false); @@ -693,8 +694,8 @@ void IntelliPhotoGui::createGui(){ QScreen *screen = QGuiApplication::primaryScreen(); QRect screenGeometry = screen->geometry(); - Buttonsize.setWidth(screenGeometry.width()/10); - Buttonsize.setHeight(screenGeometry.height()/10); + Buttonsize.setWidth(screenGeometry.width()/20); + Buttonsize.setHeight(screenGeometry.height()/20); preview = QPixmap(":/Icons/Buttons/icons/circle-tool.svg"); CircleButton = new QPushButton();