Help with wxPython BoxSizers

Anton Vredegoor anton at vredegoor.doge.nl
Tue Mar 4 12:27:53 EST 2003


On 4 Mar 2003 07:53:29 -0800, tebeka at cs.bgu.ac.il (Miki Tebeka) wrote:

>Can someone tell me what I'm doing wrong in the following code?
>I'd like to get the [...] button next to the text control and not below it.

b is added to hsizer and later to topsizer. Remove the last
line in the code block below:

>        b = wxButton(self, ID_BROWSE, '...', size=(20, -1))
>        hsizer.Add(b)
>        topsizer.Add(hsizer)
>        EVT_BUTTON(self, ID_BROWSE, self.on_select_defect)
>        topsizer.Add(b)


Anton.




More information about the Python-list mailing list