Skip to content

Commit e6bb127

Browse files
author
jef
committedMar 20, 2009
fix layout of layer selection in grass toolbox
git-svn-id: http://svn.osgeo.org/qgis/trunk@10335 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 138c345 commit e6bb127

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/plugins/grass/qgsgrassmodule.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2628,7 +2628,11 @@ QgsGrassModuleGdalInput::QgsGrassModuleGdalInput(
26282628
}
26292629
}
26302630

2631-
mLayerComboBox = new QComboBox( this );
2631+
QHBoxLayout *l = new QHBoxLayout( this );
2632+
mLayerComboBox = new QComboBox();
2633+
mLayerComboBox->setSizePolicy( QSizePolicy::Expanding,
2634+
QSizePolicy:: Preferred );
2635+
l->addWidget( mLayerComboBox );
26322636

26332637
// Of course, activated(int) is not enough, but there is no signal
26342638
// BEFORE the cobo is opened

0 commit comments

Comments
 (0)
Please sign in to comment.