[vlc-commits] commit: Qt: use dyn layout for messages (Francois Cartegnie )
git at videolan.org
git at videolan.org
Tue Sep 7 23:10:10 CEST 2010
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep 7 15:48:57 2010 +0200| [fe65deaa3c1bafbfc08be5adbb8ef4eb0996aab6] | committer: Jean-Baptiste Kempf
Qt: use dyn layout for messages
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe65deaa3c1bafbfc08be5adbb8ef4eb0996aab6
---
modules/gui/qt4/dialogs/messages.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/dialogs/messages.cpp b/modules/gui/qt4/dialogs/messages.cpp
index 22848af..1f85031 100644
--- a/modules/gui/qt4/dialogs/messages.cpp
+++ b/modules/gui/qt4/dialogs/messages.cpp
@@ -118,19 +118,19 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
verbosityBox->setRange( 0, 2 );
verbosityBox->setValue( var_InheritInteger( p_intf, "verbose" ) );
verbosityBox->setWrapping( true );
- verbosityBox->setMaximumWidth( 50 );
+ verbosityBox->setSizePolicy( QSizePolicy::Maximum, QSizePolicy::Fixed );
verbosityLabel = new QLabel( qtr( "Verbosity Level" ) );
vbobjectsEdit = new QLineEdit();
- vbobjectsEdit->setMaximumWidth( 100 );
+ vbobjectsEdit->setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Fixed );
vbobjectsEdit->setText(config_GetPsz( p_intf, "verbose-objects"));
vbobjectsEdit->setToolTip( "verbose-objects usage: \n"
"--verbose-objects=+printthatobject,-dontprintthatone\n"
"(keyword 'all' to applies to all objects)");
- vbobjectsLabel = new QLabel( qtr( "Message filter" ) );
+ vbobjectsLabel = new QLabel( qtr( "Filter:" ) );
mainLayout->addWidget( mainTab, 0, 0, 1, 0 );
mainLayout->addWidget( verbosityLabel, 1, 0, 1, 1 );
More information about the vlc-commits
mailing list