From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008-10-22 07:38:34
|
On Fri, 17 Oct 2008 09:25:18 +0100, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > On Wed, 02 Apr 2008 21:34:49 -0400, Terry Maloney <ter...@gl...> wrote: > > > Now that I've got the 'visuals' working with wxPython 2.7.2.0, I > > added a MultiColumnList to my test app ... I can drag and resize it, > > but updates/saves don't stick for size (though they do for > > position) ... it always reverts to (-1, -1) in the Property Editor > > window, and trying to set the size there doesn't work either. > > I get this too... OSX 10.4 + wxPython 2.8.9.1. > > Did anybody come up with a fix for this....if not, I'll take a look next week....time permitting. Hmmm.....PythonCard deliberately sets the size to (-1,-1) in propertyEditor.py if the component's size matches the call to GetBestSize() - under OSX GetBestSize() is not staying constant for the multicolumn list and keeps matching the new size....hence size always gets set to (-1,-1). You can get the same result under Windows XP, if you resize the component to exactly (50,50), which is GetBestSize()'s calculation of the minimum size. I'll do some more investigation to see whether this is an OSX bug in GetBestSize(). -- XXXXXXXXXXX |