Skip to content

Commit 59b758b

Browse files
committed
Fix #12069 - Don't adjust size of projection combobox
Funded by Digital Mapping Solutions
1 parent fe9c7c3 commit 59b758b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gui/qgsprojectionselectionwidget.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ QgsProjectionSelectionWidget::QgsProjectionSelectionWidget( QWidget *parent ) :
3434

3535
mCrsComboBox = new QComboBox( this );
3636
mCrsComboBox->addItem( tr( "invalid projection" ), QgsProjectionSelectionWidget::CurrentCrs );
37+
mCrsComboBox->setSizePolicy( QSizePolicy::Ignored, QSizePolicy::Preferred );
3738

3839
if ( QgsProject::instance()->readNumEntry( "SpatialRefSys", "/ProjectionsEnabled", 0 ) )
3940
{

0 commit comments

Comments
 (0)