[vlc-devel] commit: Fix a layout issue, and adds space left of reset button. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Mar 14 00:16:15 CET 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 13 15:56:40 2008 -0700| [e2714b9c307270c8b87c03510bd6c31eaa82904d]
Fix a layout issue, and adds space left of reset button.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e2714b9c307270c8b87c03510bd6c31eaa82904d
---
modules/gui/qt4/dialogs/preferences.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/dialogs/preferences.cpp b/modules/gui/qt4/dialogs/preferences.cpp
index 3e32d2d..6997fdc 100644
--- a/modules/gui/qt4/dialogs/preferences.cpp
+++ b/modules/gui/qt4/dialogs/preferences.cpp
@@ -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 );
More information about the vlc-devel
mailing list