Merge pull request #60675 from agiudiceandrea/fix-60642-displaybandname-toolong

[GUI] QgsRasterBandComboBox: avoid oversized UI caused by too long band name & description
This commit is contained in:
Andrea Giudiceandrea 2025-02-21 09:31:47 +01:00 committed by GitHub
commit ee9642e88b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,6 +54,8 @@ QgsRasterBandComboBox::QgsRasterBandComboBox( QWidget *parent )
// default to editable, until a layer is set
setEditable( true );
setSizeAdjustPolicy( QComboBox::SizeAdjustPolicy::AdjustToMinimumContentsLengthWithIcon );
}
QgsRasterLayer *QgsRasterBandComboBox::layer() const