Instead of drawing the progressbar on the splash image, draw it below it. Also move the status text closer to the progress bar.

This commit is contained in:
dfighter1985 2014-06-07 16:56:10 +02:00
parent 89d0222657
commit bfa4cec7e6

View file

@ -45,9 +45,11 @@ void SplashScreen::setPixmap( const QPixmap &pixmap )
pbWidth = this->pixmap().width();
if( this->pixmap().height() > 0 )
pbTop = this->pixmap().height() - pbHeight;
pbTop = this->pixmap().height();
textY = pbTop - pbHeight;
textY = pbTop - pbHeight / 2;
resize( pbWidth, pbTop + pbHeight );
}
void SplashScreen::setText( const QString &text )