Im using wxPython for my latest project and i was wondering, how do i make the window go to the best size, so it includes all of the objects on screen?

I used to be able to remember... but i forgot :P

Try self.SetSizerAndFit(sizer)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.