From: Richard S. <nu...@sp...> - 2004-02-03 15:11:15
|
Roger Binns wrote: >>messed up. Poking around, I saw that rect=self.GetFieldRect() wasn't >>returning the proper field widths for variable width fields. > > > Which platform? It is fine for Windows. It does look like Linux is > somewhat screwed up. It didn't used to be. That code is based on > the wxStatusBar in the demo. I would bet it is a Linux only problem. I'm using wxPython 2.4.2.4 and python 2.3.3. I have a feeling that it is returning useful information with the rect=self.GetFieldRect(1) on windows, but not on Linux. Maybe linux is returning the scaling value which you then multiply times the window width... I don't really know. -Rich |