Re: wx.BoxSizer problem

2005-01-24 Thread Laszlo Zsolt Nagy
My problem is that only one of the buttons is visible and that one is not expanded. (System: Windows, Python 2.3.4, wxPython 2.5.3) Works as expected on Mac OS X 10.3.7, python 2.3.4, wxPython 2.5.2.8. Thanks. Probably the problem is with my bitmap (I used a bitmap instead of a button). Ple

Re: wx.BoxSizer problem

2005-01-21 Thread Ed Leafe
On Jan 21, 2005, at 10:07 AM, Laszlo Zsolt Nagy wrote: My problem is that only one of the buttons is visible and that one is not expanded. (System: Windows, Python 2.3.4, wxPython 2.5.3) Works as expected on Mac OS X 10.3.7, python 2.3.4, wxPython 2.5.2.8. ___/ / __/ / / Ed

wx.BoxSizer problem

2005-01-21 Thread Laszlo Zsolt Nagy
Hi All, Here is the code of a frame: import wx class PanelDatabaseDefinition(wx.Panel): def __init__(self,parent): wx.Panel.__init__(self,parent) self.sizer = wx.BoxSizer(wx.VERTICAL) self.SetSizer(self.sizer) self.sizer.Add(wx.Button(self,label="test1"),flag=wx.EXPAND,pr