]> git.sesse.net Git - vlc/commitdiff
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 e8f384638fc565c57d26f7515176013065df07fd..c38186614ca11153e58865e3c51bb6ce39b0c400 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 a84e3506029706a4a88a7d72f4be495ad7c7ee77..3d52e7d2282d345e744a637585b132f6c064b7f8 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" >