mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:35:23 +00:00
UI: ControlUtil::createComboBox: Fix vert size policy
This commit is contained in:
parent
54e5a593c4
commit
9cc7071744
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user