]> Creatis software - bbtk.git/commitdiff
Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/bbtk
authorcorredor <Ricardo.Corredor@creatis.insa-lyon.fr>
Fri, 30 Nov 2012 16:34:48 +0000 (17:34 +0100)
committercorredor <Ricardo.Corredor@creatis.insa-lyon.fr>
Fri, 30 Nov 2012 16:34:48 +0000 (17:34 +0100)
packages/wx/src/bbwxLayoutSplit.cxx

index 6b051e6f93bfd5b39fcb49a3b79e7ab13b17a518..545420241d418e39938c7c96274a7c3924e30849 100644 (file)
@@ -85,6 +85,8 @@ namespace bbwx
                                               wxSP_LIVE_UPDATE );
     w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) );
        w->SetMinimumPaneSize(2);
+       //RaC Nov2012 Correctly resize internal panels with the window resize event
+       w->SetSashGravity(0.5);
 /*
          wxWindow* w1 = bbGetInputWidget1();
     wxWindow* w2 = bbGetInputWidget2();
@@ -143,6 +145,8 @@ namespace bbwx
     //    std::cout << "pos = "<<pos<<std::endl;
   
     win->SetSashPosition(pos,true);
+    //RaC Nov2012 Correctly resize internal panels with the window resize event
+    win->SetSashGravity(0.5);
 
   }