Skip to content

Commit e29e80b

Browse files
author
jef
committed
fix layout of layer selection in grass toolbox
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10335 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5b3f0ec commit e29e80b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/plugins/grass/qgsgrassmodule.cpp

+5-1
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)