Skip to content
Permalink
Browse files

Size hints for the embedded message bar widget

  • Loading branch information
elpaso committed Jan 27, 2019
1 parent 611eb70 commit 65bf2ceb9d609cefa7aec0c3e0ad160e747ee54f
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgsdatasourcemanagerdialog.cpp
@@ -35,12 +35,13 @@ QgsDataSourceManagerDialog::QgsDataSourceManagerDialog( QgsBrowserModel *browser
, mPreviousRow( -1 )
, mMapCanvas( canvas )
{
mMessageBar = new QgsMessageBar( this );
ui->setupUi( this );
ui->verticalLayout_2->setSpacing( 6 );
ui->verticalLayout_2->setMargin( 0 );
ui->verticalLayout_2->setContentsMargins( 0, 0, 0, 0 );

mMessageBar = new QgsMessageBar( this );
mMessageBar->setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Fixed );
static_cast<QVBoxLayout *>( layout() )->insertWidget( 0, mMessageBar );

// QgsOptionsDialogBase handles saving/restoring of geometry, splitter and current tab states,

0 comments on commit 65bf2ce

Please sign in to comment.
You can’t perform that action at this time.