X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=lib%2FInterface_Icons_NDimensions%2FinterfMainPanel.cxx;h=3f17f76490f9f79ed8a07c08aac7487e6f1e8d9b;hb=6807fedd64a42da907c05d683eca9d3f63572cdd;hp=b9123cb266b4ed54ae2d6af1d12faeb5c7a7b91b;hpb=7ef64acb00d37e665e0bf019b9a7ede2495bf155;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx index b9123cb..3f17f76 100644 --- a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx +++ b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx @@ -136,7 +136,7 @@ interfMainPanel::interfMainPanel(wxWindow * parent, int sizex, int sizey, wxEvtH Connect(b4->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1); Connect(b5->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1); Connect(b6->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1); - this->Layout(); + this->Layout(); } interfMainPanel::~interfMainPanel(void) @@ -669,7 +669,6 @@ void interfMainPanel::setStringSpread(std::string stringtemp) void interfMainPanel::onInformationPressed() { -printf("EED interfMainPanel::onInformationPressed Start\n"); // Statistics frame if(infoWin ==NULL) { @@ -683,14 +682,14 @@ printf("EED interfMainPanel::onInformationPressed 0.3\n"); informationPanel = new interfInformationPanel(infoWin);//contourevent->getInformationPanel(infoWin); printf("EED interfMainPanel::onInformationPressed 0.3a\n"); - wxBoxSizer * sizerPanel = new wxBoxSizer(wxHORIZONTAL); +// Borrame wxBoxSizer * sizerPanel = new wxBoxSizer(wxHORIZONTAL); + wxFlexGridSizer * sizerPanel = new wxFlexGridSizer(1); + sizerPanel -> Add( informationPanel, 1, wxEXPAND ,0); printf("EED interfMainPanel::onInformationPressed 0.4\n"); infoWin->SetSizer( sizerPanel ); -printf("EED interfMainPanel::onInformationPressed 0.41\n"); infoWin->SetAutoLayout( true ); -printf("EED interfMainPanel::onInformationPressed 0.42\n"); infoWin->Layout(); printf("EED interfMainPanel::onInformationPressed 0.43\n"); infoWin->Show();