mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Instead of drawing the progressbar on the splash image, draw it below it. Also move the status text closer to the progress bar.
--HG-- branch : gsoc2014-dfighter
This commit is contained in:
parent
2ce11cc2f9
commit
f177a49a9e
1 changed files with 4 additions and 2 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue