box = wxBoxSizer(wxVERTICAL)
box1 = wxBoxSizer(wxHORIZONTAL)
# You can put your widgets here
widget = wxPanel(self,-1,size=(200,200))
wxButton( widget,-1,"B1B1",pos=(10,10),size=(80,20) )
wxButton( widget,-1,"B2B2",pos=(10,40),size=(80,20) )
I think you don´t need another panel, because you
can do all the layout only with sizers (this way you
don´t need to hard code any position)
The wxPanel I puted on the demo was just a sample...
here is my version of your app...
----- Original Message -----
From: Niki Spahiev <[hidden email]>
To: <[hidden email]>
Sent: Friday, December 17, 1999 10:16 PM
Subject: Re: [RE: [wxPython] Re: laying out a dialog box]
I tryed Cristian's code with 2 buttons in panel. I need similar setup:
panel within panel, but tab traversal is not ok. Only last button gets
Can someone help?