]> Creatis software - creaContours.git/commitdiff
*** empty log message ***
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Wed, 1 Sep 2010 22:23:40 +0000 (22:23 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Wed, 1 Sep 2010 22:23:40 +0000 (22:23 +0000)
lib/Interface_Icons_NDimensions/interfMainPanel.cxx

index 6bbd832e4b0305712b2bcb9d495e2f411a6bdc0a..1dc37456e1670b69399872282a7f6337b10ea1a4 100644 (file)
@@ -118,9 +118,9 @@ interfMainPanel::interfMainPanel(wxWindow * parent, int sizex, int sizey, wxEvtH
 
        splitterwindow->Initialize(toolpanel);
        splitterwindow->SetSashGravity(1);
-       splitterwindow->SetSashPosition(500);
+//EED  splitterwindow->SetSashPosition(600);
        splitterwindow->SetSashSize(5);
-       splitterwindow->SplitHorizontally(toolpanel, infoPanel);        
+       splitterwindow->SplitHorizontally(toolpanel, infoPanel,8*73);   
 
        Connect(b->GetId(),  wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1);
        Connect(b1->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1);
@@ -259,7 +259,7 @@ void interfMainPanel::onActionButtonPressed1( wxCommandEvent& event )
                b->SetLabel(_T("+"));
        }       
        
-       sizechange *= dmenu->GetSize().GetHeight();
+       sizechange *= (dmenu->GetSize().GetHeight()-10);
        splitterwindow->SetSashPosition(splitterwindow->GetSashPosition()+sizechange);
        
        this->Layout();