James Yu wrote:
Hi folks,
I need some help on resizing sizer.
The sizer does grow correctly when I use it straight-a-way like this (cow_label.py):class CowSkin(wx.Frame):
def __init__(self):
wx.Frame.__init__(self, None, wx.NewId(), 'CowGen 4.0')
## self.statusBar = self.CreateStatusBar()
self.bgPanel = bgPanel = wx.Panel(self, wx.NewId())
self.labelPanel = labelPanel = CL.CowLabel(self,
self.GetLabels())
You probably intended to make the parent of the labelPanel be the bgPanel instead of self.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!