From 9982671fc97eb09638497a5650b7b5d9fa5bc9fd Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Tue, 9 Nov 2021 08:52:57 -0500 Subject: [PATCH] Reduce waiting hourglass size --- hourglassanimationwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hourglassanimationwidget.cpp b/hourglassanimationwidget.cpp index e79ca42..0734216 100644 --- a/hourglassanimationwidget.cpp +++ b/hourglassanimationwidget.cpp @@ -18,15 +18,15 @@ hourglassAnimationWidget::hourglassAnimationWidget(QWidget *parent) : float stdIconWidth; float stdIconHeight; { - stdIconWidth = sW / 2; - stdIconHeight = sH / 2; + stdIconWidth = sW / 2.5; + stdIconHeight = sH / 2.5; QPixmap pixmap(":/resources/hourglass-top.png"); QPixmap scaledPixmap = pixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio); ui->hourglassTopLabel->setPixmap(scaledPixmap); } { - stdIconWidth = sW / 2; - stdIconHeight = sH / 2; + stdIconWidth = sW / 2.5; + stdIconHeight = sH / 2.5; QPixmap pixmap(":/resources/hourglass-bottom.png"); QPixmap scaledPixmap = pixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio); ui->hourglassBottomLabel->setPixmap(scaledPixmap);