From 23916ae45f4e540ef9cf53daf05e0d237570f8d8 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sun, 16 Dec 2007 05:01:25 +0000 Subject: [PATCH] Qt4 - Make the interface a bit smaller. --- modules/gui/qt4/components/interface_widgets.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp index ccfc4db233..f78e9fda27 100644 --- a/modules/gui/qt4/components/interface_widgets.cpp +++ b/modules/gui/qt4/components/interface_widgets.cpp @@ -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 ); -- 2.20.1