[vlc-devel] commit: Qt4: larger fullscreen controller. (Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Sep 23 02:23:14 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Sep 22 11:44:08 2008 -0700| [936a35d91dc6f28322f57cf0e2c44c7d5e8314fe] | committer: Jean-Baptiste Kempf 

Qt4: larger fullscreen controller.

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

 modules/gui/qt4/components/interface_widgets.cpp |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 9863b3b..6e87758 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -1022,10 +1022,9 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i,
 
     /* First line */
     slider->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum);
-    slider->setMinimumWidth( 300 );
     fsLayout->addWidget( slowerButton, 0, 0 );
-    fsLayout->addWidget( slider, 0, 1, 1, 9 );
-    fsLayout->addWidget( fasterButton, 0, 10 );
+    fsLayout->addWidget( slider, 0, 1, 1, 11 );
+    fsLayout->addWidget( fasterButton, 0, 12 );
 
     /* Second line */
     fsLayout->addWidget( playButton, 1, 0, 1, 2 );
@@ -1042,7 +1041,7 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i,
 
     fsLayout->addWidget( timeLabel, 1, 8 );
     fsLayout->addWidget( volMuteLabel, 1, 9 );
-    fsLayout->addWidget( volumeSlider, 1, 10,1, 2 );
+    fsLayout->addWidget( volumeSlider, 1, 10, 1, 2 );
 
     /* hiding timer */
     p_hideTimer = new QTimer( this );
@@ -1073,7 +1072,7 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i,
     fullscreenButton->setIcon( QIcon( ":/defullscreen" ) );
 
     vlc_mutex_init_recursive( &lock );
-    setMinimumWidth( 450 );
+    setMinimumWidth( 600 );
 }
 
 FullscreenControllerWidget::~FullscreenControllerWidget()




More information about the vlc-devel mailing list