From 458b23492034207d7e292cefcd14e5f6adb5b74b Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Tue, 22 Jul 2014 21:50:44 +0400 Subject: Align progressbar text to center of the widget Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/subsurfacewebservices.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index daeb5385c..31358cf07 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -321,6 +321,7 @@ SubsurfaceWebServices::SubsurfaceWebServices(QWidget *parent, Qt::WindowFlags f) ui.progressBar->setFormat("Enter User ID and click Download"); ui.progressBar->setRange(0, 1); ui.progressBar->setValue(-1); + ui.progressBar->setAlignment(Qt::AlignCenter); ui.saveUidLocal->setChecked(prefs.save_userid_local); QShortcut *close = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), this); connect(close, SIGNAL(activated()), this, SLOT(close())); -- cgit v1.2.3-70-g09d2