std::vector<GPortModel*> lstInputs = _model->getInputPorts();
wxFlexGridSizer *sizer = new wxFlexGridSizer(lstInputs.size(),3,5,5);
+ sizer->AddGrowableCol(0);
+ sizer->AddGrowableCol(1);
+ sizer->AddGrowableCol(2);
+
for(int i = 0;i<(int)lstInputs.size();i++)
{
+ sizer->AddGrowableRow(i);
GPortModel* port = lstInputs[i];
std::string type = port->getBBTKType();
wxStaticText *lblName = new wxStaticText(scrollWin, -1, std2wx(port->getBBTKName()),wxDefaultPosition,wxSize(100,25));
sizerDialog->AddSpacer(10);
sizerDialog->Add(text,0,wxALIGN_TOP|wxALIGN_CENTER);
sizerDialog->AddSpacer(15);
- sizerDialog->Add(sizer,0,wxALIGN_CENTER);
+ sizerDialog->Add(sizer,0,wxALIGN_CENTER| wxEXPAND);
sizerDialog->AddSpacer(15);
sizerDialog->Add(buts,0,wxALIGN_CENTER | wxTOP | wxBOTTOM);