[wxPython-users] newbie question on auto sizing
Christopher Barker
Chris.Barker at noaa.gov
Tue Jan 9 10:51:21 PST 2007
Christopher Barker wrote:
> the big change is that it creates
> the sizer, then add the buttons, then calls panel.SetSizerAndFit(Sizer).
>
> You could probably have done it the way you originally had it, if you
> had called self.panel.Fit() after adding the buttons.
Oh, and self.Fit() too, to fit the Frame to the Panel.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list