Nevermind. I had hard coded a size of the panel!
--vicki
Nevermind. I had hard coded a size of the panel!
--vicki
vicki@stanfield.net wrote:
Nevermind. I had hard coded a size of the panel!
Are you sure? you passed in inot the init, but I don't hink it was used.
In any case, I fixed that, and still had some problems. I've added a
self.Fit()
at the end of the Frame __init__, and it worked much better, but the
static text is getting cut off, which is odd, so I added another
self.Fit() to the end of the Panel __init, and bingo!
Enclosed is what I have now, with some print staements added, so I could
see how things we're getting sized.
-Chris
-- --
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
wxComTool2.py (4.84 KB)