git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a8eb03f
)
Qt4 - Make the time Label right aligned and not size increasing in resize.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Sat, 22 Dec 2007 19:12:45 +0000
(19:12 +0000)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Sat, 22 Dec 2007 19:12:45 +0000
(19:12 +0000)
modules/gui/qt4/main_interface.cpp
patch
|
blob
|
history
diff --git
a/modules/gui/qt4/main_interface.cpp
b/modules/gui/qt4/main_interface.cpp
index
07f5a92
..
9731e99
100644
(file)
--- 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;
/* Widgets Creation*/
b_remainingTime = false;
timeLabel = new TimeLabel;
+ timeLabel->setAlignment( Qt::AlignRight );
nameLabel = new QLabel;
nameLabel->setTextInteractionFlags( Qt::TextSelectableByMouse
| Qt::TextSelectableByKeyboard );
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 );
/* 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
/* timeLabel behaviour:
- double clicking opens the goto time dialog