From: Eduardo Davila Date: Wed, 1 Sep 2010 22:23:40 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CREATOOLS.2-0-3~6 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3994409e389e2c4bb699ea85bc6ed5b0e5f05fc4;p=creaContours.git *** empty log message *** --- diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx index 6bbd832..1dc3745 100644 --- a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx +++ b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx @@ -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();