From eb35c9f010d62f76ea572129769d518d837920bc Mon Sep 17 00:00:00 2001 From: davila <> Date: Wed, 1 Feb 2012 23:53:17 +0000 Subject: [PATCH] no message --- .../bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx index b6e2850..f72d05b 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxBlackBoxEditionDialog.cxx @@ -78,8 +78,13 @@ namespace bbtk std::vector 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); -- 2.47.1