Resize policy back (586 ms with grid layout, 1347 ms with table layout)
This commit is contained in:
@@ -45,9 +45,7 @@ LimitsGroup::LimitsGroup(Firmware * firmware, TableLayout *tableLayout, int row,
|
||||
horizontalLayout->addWidget(gv);
|
||||
QComboBox * cb = new QComboBox();
|
||||
horizontalLayout->addWidget(cb);
|
||||
cb->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
horizontalLayout->addWidget(spinbox);
|
||||
spinbox->setMinimumWidth(80);
|
||||
tableLayout->addLayout(row, col, horizontalLayout);
|
||||
gvarGroup = new GVarGroup(gv, spinbox, cb, value, deflt, min, max, displayStep, allowGVars);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user