One thing to do is change the proportion to 1 on the add so the widget can grow and shrink:
$tsz->Add($sw, 1, wxALIGN_CENTER | wxALL|wxEXPAND, 10); You'll then see you list of widgets. Jeff On Thu, 2011-01-27 at 14:24 +0800, Robin Lee wrote: > Hi, all. I am a new learner of wxPerl. > > I have trouble when putting a ScrolledWindow which holds a BoxSizer > into an outer BoxSizer. My attached codes does not work. Anybody can > help revising the codes or show me some samples? > > > Cheers > Robin > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________