Commit 94874bdf authored by Tobias Hunger's avatar Tobias Hunger

Utils: Enhance resize shrinking behavior of the AbiWidget

Allow the first combobox to shrink below the length of the displayed
text: That information is repeated in the details anyway.

Change-Id: Iadb554cbd08a4a9a0a0d8060cbbedc8cdacb791a
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent 598a4c46
......@@ -82,6 +82,8 @@ AbiWidget::AbiWidget(QWidget *parent) :
layout->setSpacing(2);
d->m_abi = new QComboBox(this);
d->m_abi->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLengthWithIcon);
d->m_abi->setMinimumContentsLength(4);
layout->addWidget(d->m_abi);
connect(d->m_abi, SIGNAL(currentIndexChanged(int)), this, SLOT(modeChanged()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment