Reduce waiting hourglass size

This commit is contained in:
Nicolas Mailloux 2021-11-09 08:52:57 -05:00
parent c38c955f64
commit 9982671fc9

View file

@ -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);