mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 07:37:21 -08:00
Reduce waiting hourglass size
This commit is contained in:
parent
c38c955f64
commit
9982671fc9
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue