]> Creatis software - bbtkGEditor.git/commitdiff
no message
authordavila <>
Wed, 1 Feb 2012 23:53:17 +0000 (23:53 +0000)
committerdavila <>
Wed, 1 Feb 2012 23:53:17 +0000 (23:53 +0000)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx

index b6e28501bc2324bb8432fd7367c8b370f2e71f63..f72d05bb8a8066f5503747c6ac5e8f0ee7bd5944 100644 (file)
@@ -78,8 +78,13 @@ namespace bbtk
 
                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));
@@ -130,7 +135,7 @@ namespace bbtk
                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);