[vlc-devel] commit: Cosmetic. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jun 15 05:20:13 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 14 20:22:00 2008 -0700| [99c1a2579b946e0fd4212f533e3201ad2f49a164]

Cosmetic.

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

 modules/gui/qt4/components/interface_widgets.cpp |    2 +-
 modules/gui/qt4/components/playlist/playlist.cpp |    2 ++
 modules/gui/qt4/main_interface.cpp               |    1 +
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index a1eba64..565e6c0 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -388,7 +388,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
     controlLayout = new QGridLayout( );
 
     controlLayout->setSpacing( 0 );
-    controlLayout->setLayoutMargins( 9, 6, 9, 6, 6 );
+    controlLayout->setLayoutMargins( 7, 5, 7, 3, 6 );
 
     if( !b_fsCreation )
         setLayout( controlLayout );
diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp
index 92345c5..325554c 100644
--- a/modules/gui/qt4/components/playlist/playlist.cpp
+++ b/modules/gui/qt4/components/playlist/playlist.cpp
@@ -47,6 +47,8 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i,
                                 QWidget *_parent )
                : p_intf ( _p_i ), parent( _parent )
 {
+    setContentsMargins( 3, 3, 3, 3 );
+
     /* Left Part and design */
     QSplitter *leftW = new QSplitter( Qt::Vertical, this );
 
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 729e3c3..f3b7515 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -412,6 +412,7 @@ void MainInterface::handleMainUi( QSettings *settings )
     /* Margins, spacing */
     main->setContentsMargins( 0, 0, 0, 0 );
     main->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Maximum );
+    mainLayout->setSpacing( 0 );
     mainLayout->setMargin( 0 );
 
     /* Create the CONTROLS Widget */




More information about the vlc-devel mailing list