[vlc-devel] commit: Fix "on qt the seek slider is as wide as the interface, not in FS controler" bug (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Jul 31 00:11:39 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jul 30 15:13:00 2008 -0700| [4abc8cd606b30fe0f8f30486ef424b93808a9c23]

Fix "on qt the seek slider is as wide as the interface, not in FS controler" bug

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4abc8cd606b30fe0f8f30486ef424b93808a9c23
---

 modules/gui/qt4/components/interface_widgets.cpp |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 5a62874..4909217 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -925,19 +925,19 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i,
     /* First line */
     slider->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum);
     fsLayout->addWidget( slowerButton, 0, 0 );
-    fsLayout->addWidget( slider, 0, 1, 1, 6 );
-    fsLayout->addWidget( fasterButton, 0, 7 );
+    fsLayout->addWidget( slider, 0, 1, 1, 8 );
+    fsLayout->addWidget( fasterButton, 0, 9 );
 
-    fsLayout->addWidget( playButton, 1, 0 );
-    fsLayout->addLayout( controlButLayout, 1, 1 );
+    fsLayout->addWidget( playButton, 1, 0, 1, 2 );
+    fsLayout->addLayout( controlButLayout, 1, 2 );
 
-    fsLayout->addWidget( discFrame, 1, 2 );
-    fsLayout->addWidget( telexFrame, 1, 3 );
-    fsLayout->addWidget( advControls, 1, 4, Qt::AlignVCenter );
-    fsLayout->addWidget( fullscreenButton, 1, 5 );
+    fsLayout->addWidget( discFrame, 1, 3 );
+    fsLayout->addWidget( telexFrame, 1, 4 );
+    fsLayout->addWidget( advControls, 1, 5, Qt::AlignVCenter );
+    fsLayout->addWidget( fullscreenButton, 1, 6 );
 
-    fsLayout->addWidget( volMuteLabel, 1, 6);
-    fsLayout->addWidget( volumeSlider, 1, 7 );
+    fsLayout->addWidget( volMuteLabel, 1, 7 );
+    fsLayout->addWidget( volumeSlider, 1, 8, 1, 2 );
 
     /* hiding timer */
     p_hideTimer = new QTimer( this );




More information about the vlc-devel mailing list