Help with wxPython BoxSizers

Anton Vredegoor anton at
Tue Mar 4 18:27:53 CET 2003

On 4 Mar 2003 07:53:29 -0800, tebeka at (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)


More information about the Python-list mailing list