Qt4 - Fix timeLabel alignment.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 22 Jan 2008 06:07:04 +0000 (06:07 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 22 Jan 2008 06:07:04 +0000 (06:07 +0000)
modules/gui/qt4/main_interface.cpp

index 2d156dd..7843ac4 100644 (file)
@@ -152,7 +152,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     b_remainingTime = false;
     timeLabel = new TimeLabel;
     timeLabel->setText( " --:--/--:-- " );
-    timeLabel->setAlignment( Qt::AlignRight );
+    timeLabel->setAlignment( Qt::AlignRight | Qt::AlignVCenter );
     nameLabel = new QLabel;
     nameLabel->setTextInteractionFlags( Qt::TextSelectableByMouse
                                       | Qt::TextSelectableByKeyboard );