]> git.sesse.net Git - vlc/commitdiff
FIx annoying button behaviour (resize when tab changing).
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 29 Jul 2008 17:42:57 +0000 (10:42 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 29 Jul 2008 18:16:48 +0000 (11:16 -0700)
modules/gui/qt4/dialogs/messages.cpp

index 941e438a5436d66f5968f2a431c1e00bd6906c54..59e8fbad0c530a0528120325fa7fa81af175b0be 100644 (file)
@@ -83,6 +83,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
     closeButton->setDefault( true );
     clearUpdateButton = new QPushButton( qtr( "&Clear" ) );
     saveLogButton = new QPushButton( qtr( "&Save as..." ) );
+    saveLogButton->setToolTip( qtr( "Save all the displayed logs to a file" ) );
 
     verbosityBox = new QSpinBox();
     verbosityBox->setRange( 0, 2 );
@@ -95,6 +96,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
     mainLayout->addWidget( mainTab, 0, 0, 1, 0 );
     mainLayout->addWidget( verbosityLabel, 1, 0, 1, 1 );
     mainLayout->addWidget( verbosityBox, 1, 1 );
+    mainLayout->setColumnStretch( 2, 10 );
     mainLayout->addWidget( saveLogButton, 1, 3 );
     mainLayout->addWidget( clearUpdateButton, 1, 4 );
     mainLayout->addWidget( closeButton, 1, 5 );