UI: ControlUtil::createComboBox: Fix vert size policy

This commit is contained in:
Nodir Temirkhodjaev 2024-02-01 14:38:44 +03:00
parent 54e5a593c4
commit 9cc7071744

View File

@ -41,7 +41,7 @@ QSpinBox *ControlUtil::createSpinBox()
QComboBox *ControlUtil::createComboBox(const QStringList &texts)
{
auto c = new ComboBox();
c->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
c->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
c->addItems(texts);
return c;
}