aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2009-12-16 14:43:51 +0100
committerBjörn Gustavsson <[email protected]>2009-12-18 16:30:07 +0100
commit85f849c570bc99fe33d3001d8b4f9705ca3a833a (patch)
tree21f80f5364cf217d56e527b3f3551c8aec3cc3b6
parent87f6e4c3bcddc166d2109e72ae8add6adfca26cc (diff)
downloadotp-85f849c570bc99fe33d3001d8b4f9705ca3a833a.tar.gz
otp-85f849c570bc99fe33d3001d8b4f9705ca3a833a.tar.bz2
otp-85f849c570bc99fe33d3001d8b4f9705ca3a833a.zip
Dbg: Expand the module listbox when window grows.
-rw-r--r--lib/debugger/src/dbg_wx_mon_win.erl2
1 files changed, 1 insertions, 1 deletions
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),