]> git.sesse.net Git - vlc/commitdiff
Fix a layout issue, and adds space left of reset button.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 13 Mar 2008 22:56:40 +0000 (15:56 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 13 Mar 2008 23:16:23 +0000 (16:16 -0700)
modules/gui/qt4/dialogs/preferences.cpp

index 3e32d2dfd3eab0707954acae8b4cd188f24bae30..6997fdcc21d30edb5bc81d34089e257d52120403 100644 (file)
@@ -87,12 +87,14 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
     /* Layout  */
     main_layout->addWidget( tree_panel, 0, 0, 3, 1 );
     main_layout->addWidget( types, 3, 0, 2, 1 );
-    main_layout->addWidget( main_panel, 0, 1, 4, 1 );
-    main_layout->addWidget( buttonsBox, 4, 1, 1 ,2 );
+    main_layout->addWidget( main_panel, 0, 1, 4, 2 );
+    main_layout->addWidget( buttonsBox, 4, 2, 1 ,1 );
 
     main_layout->setColumnMinimumWidth( 0, 150 );
+    main_layout->setColumnMinimumWidth( 1, 10 );
     main_layout->setColumnStretch( 0, 1 );
-    main_layout->setColumnStretch( 1, 3 );
+    main_layout->setColumnStretch( 1, 0 );
+    main_layout->setColumnStretch( 2, 3 );
 
     main_layout->setRowStretch( 2, 4 );