From f24576d12295892699bdae7fd32900139aa118e8 Mon Sep 17 00:00:00 2001 From: corredor Date: Fri, 30 Nov 2012 11:49:40 +0100 Subject: [PATCH] RaCNov2012 Correct resize of internal panels according to the window resize event --- packages/wx/src/bbwxLayoutSplit.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/wx/src/bbwxLayoutSplit.cxx b/packages/wx/src/bbwxLayoutSplit.cxx index 6b051e6..5454202 100644 --- a/packages/wx/src/bbwxLayoutSplit.cxx +++ b/packages/wx/src/bbwxLayoutSplit.cxx @@ -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 = "<SetSashPosition(pos,true); + //RaC Nov2012 Correctly resize internal panels with the window resize event + win->SetSashGravity(0.5); } -- 2.47.1