Commit fe65deaa authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

Qt: use dyn layout for messages

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5c331b20
...@@ -118,19 +118,19 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) ...@@ -118,19 +118,19 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
verbosityBox->setRange( 0, 2 ); verbosityBox->setRange( 0, 2 );
verbosityBox->setValue( var_InheritInteger( p_intf, "verbose" ) ); verbosityBox->setValue( var_InheritInteger( p_intf, "verbose" ) );
verbosityBox->setWrapping( true ); verbosityBox->setWrapping( true );
verbosityBox->setMaximumWidth( 50 ); verbosityBox->setSizePolicy( QSizePolicy::Maximum, QSizePolicy::Fixed );
verbosityLabel = new QLabel( qtr( "Verbosity Level" ) ); verbosityLabel = new QLabel( qtr( "Verbosity Level" ) );
vbobjectsEdit = new QLineEdit(); vbobjectsEdit = new QLineEdit();
vbobjectsEdit->setMaximumWidth( 100 ); vbobjectsEdit->setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Fixed );
vbobjectsEdit->setText(config_GetPsz( p_intf, "verbose-objects")); vbobjectsEdit->setText(config_GetPsz( p_intf, "verbose-objects"));
vbobjectsEdit->setToolTip( "verbose-objects usage: \n" vbobjectsEdit->setToolTip( "verbose-objects usage: \n"
"--verbose-objects=+printthatobject,-dontprintthatone\n" "--verbose-objects=+printthatobject,-dontprintthatone\n"
"(keyword 'all' to applies to all objects)"); "(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( mainTab, 0, 0, 1, 0 );
mainLayout->addWidget( verbosityLabel, 1, 0, 1, 1 ); mainLayout->addWidget( verbosityLabel, 1, 0, 1, 1 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment