TableWidget only used if -D TABLE_LAYOUT=yes compile option is defined
This commit is contained in:
@@ -196,8 +196,9 @@ CustomFunctionsPanel::CustomFunctionsPanel(QWidget * parent, ModelData * model,
|
||||
lock = false;
|
||||
|
||||
update();
|
||||
tableLayout->getTableWidget()->resizeColumnsToContents();
|
||||
tableLayout->getTableWidget()->setColumnWidth(3, 300);
|
||||
tableLayout->resizeColumnsToContents();
|
||||
tableLayout->setColumnWidth(3, 300);
|
||||
tableLayout->pushRowsUp(num_fsw+1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user