[Boa Constr] grid sizer not working
Status: Beta
Brought to you by:
riaan
From: Endre S. <sze...@ya...> - 2005-11-29 05:31:22
|
Hi I've put 2 grid sizers on a form with some components within them somewhat like this: self.gs2 = wx.GridSizer(0, 0, 0, 0) self.gs2.Add(self.text1, 1, wx.EXPAND) ... self.gs1 = wx.GridSizer(0, 0, 0, 0) self.gs1.Add(self.gs2, 1, wx.EXPAND) ... I've put this code in the forms __init__ method, then I issued a self.SetSize() command. The form resizes, but the components does not. Then I put the self.Resize() command in the form's OnSize event. No result. What's wrong? How can I get this working? Thanks Endre --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. |