Qt4 - Extended: manage correctly the margin.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 25 Nov 2007 00:56:41 +0000 (00:56 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 25 Nov 2007 00:56:41 +0000 (00:56 +0000)
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/ui/video_effects.ui

index e8f3846..c381866 100644 (file)
@@ -42,6 +42,8 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
     QTabWidget *mainTab = new QTabWidget( this );
     mainTab->setTabPosition( QTabWidget::West );
 
+    QWidget *audioWidget = new QWidget( this );
+    QHBoxLayout *audioLayout = new QHBoxLayout( audioWidget );
     QTabWidget *audioTab = new QTabWidget( mainTab );
 
     Equalizer *equal = new Equalizer( p_intf, this );
@@ -49,7 +51,9 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
 
     Spatializer *spatial = new Spatializer( p_intf, this );
     audioTab->addTab( spatial, qtr( "Spatializer" ) );
-    mainTab->addTab( audioTab, qtr( "Audio effects" ) );
+    audioLayout->addWidget( audioTab );
+
+    mainTab->addTab( audioWidget, qtr( "Audio effects" ) );
 
     ExtVideo *videoEffect = new ExtVideo( p_intf, this );
     mainTab->addTab( videoEffect, qtr( "Video Adjustments and Effects" ) );
index a84e350..3d52e7d 100644 (file)
      </widget>
      <widget class="QWidget" name="tab_8" >
       <attribute name="title" >
-       <string>_("Find one here too")</string>
+       <string>_("Overlay")</string>
       </attribute>
       <layout class="QGridLayout" >
        <property name="margin" >