I have a very simple application that looks like
frame
panel
horizontal sizer
text control
text control
During init I would like the panel and frame to automatically resize to just contain the two side-by-side text controls (it’s a countdown timer with two intervals). At the moment I just fiddle with the frame size to get it right, but there should be an automatic way to do this if, for example, I increase or decrease the font of the text controls. Any suggestions? I’ve tried
self.Fit()
but this makes the frame so small it hides the text controls.