]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfMainPanel.cxx
#3161 creaContours Bug New Normal - Interpolate Image - Color and Threshold Layer...
[creaContours.git] / lib / Interface_Icons_NDimensions / interfMainPanel.cxx
index 7d77c933622ace10e4195237b09823ef94fbae81..d1dd92247c4b9b43bb1287db150bc2a07678445d 100644 (file)
@@ -146,7 +146,7 @@ interfMainPanel::interfMainPanel(wxWindow * parent, int sizex, int sizey, wxEvtH
        splitterwindow->SetSashGravity(1);
 //EED  splitterwindow->SetSashPosition(600);
        splitterwindow->SetSashSize(5);
-       splitterwindow->SplitHorizontally(toolpanel, infoPanel,8*73);
+       splitterwindow->SplitHorizontally(toolpanel, infoPanel,9*73);
 
        Connect(b->GetId(),  wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1);
        Connect(b1->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1);
@@ -696,7 +696,6 @@ void interfMainPanel::setStringSpread(std::string stringtemp)
 
 void interfMainPanel::onInformationPressed()
 {
-
        // Statistics frame
        if(infoWin ==NULL){
                infoWin                 = new wxFrame (this, -1,_T("  Statistics  "), wxDefaultPosition, wxDefaultSize, wxFRAME_TOOL_WINDOW|wxSYSTEM_MENU | wxCAPTION |  wxCLIP_CHILDREN |wxFRAME_FLOAT_ON_PARENT | wxRESIZE_BORDER  );
@@ -705,11 +704,13 @@ void interfMainPanel::onInformationPressed()
                wxSize sizepanel(825,675);
                informationPanel        = new interfInformationPanel(infoWin);//contourevent->getInformationPanel(infoWin);
 
-               wxBoxSizer * sizerPanel = new wxBoxSizer(wxHORIZONTAL);
+// Borrame             wxBoxSizer * sizerPanel = new wxBoxSizer(wxHORIZONTAL);
+               wxFlexGridSizer * sizerPanel            = new wxFlexGridSizer(1);
+
                sizerPanel -> Add( informationPanel, 1, wxEXPAND ,0);
 
                infoWin->SetSizer( sizerPanel );
-               infoWin->SetAutoLayout( true );
+//             infoWin->SetAutoLayout( true );
                infoWin->Layout();
                infoWin->Show();
        }else {