Resize policy back (586 ms with grid layout, 1347 ms with table layout)

This commit is contained in:
Damjan Adamic
2015-12-07 18:03:41 +01:00
parent e37dcabd95
commit 49016498a3
3 changed files with 3 additions and 8 deletions
-2
View File
@@ -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);
}