Qt4 - Make the interface a bit smaller.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 16 Dec 2007 05:01:25 +0000 (05:01 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 16 Dec 2007 05:01:25 +0000 (05:01 +0000)
modules/gui/qt4/components/interface_widgets.cpp

index ccfc4db..f78e9fd 100644 (file)
@@ -378,7 +378,11 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
 {
     controlLayout = new QGridLayout( this );
     controlLayout->setSpacing( 0 );
-    //controlLayout->setMargin( 0 );
+#if QT43
+    controlLayout->setContentsMargins( 9, 6, 9, 6 );
+#else
+    controlLayout->setMargin( 6 );
+#endif
 
     setSizePolicy( QSizePolicy::Preferred , QSizePolicy::Maximum );