mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
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:
commit
ee9642e88b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user