From 3caff7104d416778afd6621fd25ba9ae4a8ccae9 Mon Sep 17 00:00:00 2001 From: Taka Date: Wed, 3 May 2017 09:58:53 +0000 Subject: [PATCH] Fixed the appearance of progress bars on Windows. --- startup_widget.py | 1 + 1 file changed, 1 insertion(+) diff --git a/startup_widget.py b/startup_widget.py index 6ea9ab0..42ed1d1 100644 --- a/startup_widget.py +++ b/startup_widget.py @@ -219,6 +219,7 @@ class StartupWidget( QWidget ) : """Update the analysis progress in the UI.""" if pval >= 0 : self.pb_files.setValue( int( 100*pval + 0.5 ) ) + self.pb_files.setStyleSheet( "text-align: center ;" ) self.pb_files.setFormat( msg ) self.pb_pages.setValue( 0 ) def on_analyze_progress2( self , pval ) :