From ca64fcfe4243348b313f24278bedcc6961e0afbb Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 22 Dec 2007 19:12:45 +0000 Subject: [PATCH] Qt4 - Make the time Label right aligned and not size increasing in resize. --- modules/gui/qt4/main_interface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 07f5a92938..9731e99313 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -150,6 +150,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) /* Widgets Creation*/ b_remainingTime = false; timeLabel = new TimeLabel; + timeLabel->setAlignment( Qt::AlignRight ); nameLabel = new QLabel; nameLabel->setTextInteractionFlags( Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard ); @@ -164,7 +165,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) /* and adding those */ statusBar()->addWidget( nameLabel, 8 ); statusBar()->addPermanentWidget( speedLabel, 0 ); - statusBar()->addPermanentWidget( timeLabel, 2 ); + statusBar()->addPermanentWidget( timeLabel, 0 ); /* timeLabel behaviour: - double clicking opens the goto time dialog -- 2.20.1