From 85f849c570bc99fe33d3001d8b4f9705ca3a833a Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Wed, 16 Dec 2009 14:43:51 +0100 Subject: Dbg: Expand the module listbox when window grows. --- lib/debugger/src/dbg_wx_mon_win.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debugger/src/dbg_wx_mon_win.erl b/lib/debugger/src/dbg_wx_mon_win.erl index dfb327fa6a..95fc9a89b2 100644 --- a/lib/debugger/src/dbg_wx_mon_win.erl +++ b/lib/debugger/src/dbg_wx_mon_win.erl @@ -104,7 +104,7 @@ create_win_batch(Title, Menus) -> Hlb = 200, Listbox = wxListBox:new(Panel, ?wxID_ANY, [{size,{?Wf,Hlb}}, {style,?wxLB_SINGLE}]), - wxSizer:add(LeftSz,Listbox,[{border, 3}]), + wxSizer:add(LeftSz,Listbox,[{proportion,1}, {border,3}]), wxListBox:connect(Listbox, command_listbox_doubleclicked), wxListBox:connect(Listbox, right_down), -- cgit v1.2.3