Re: Another bug in Mac Resource Editor?
Neil Hughes <[email protected]> Wed, 22 Oct 2008 08:38:22 +0100
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 17 Oct 2008 09:25:18 +0100, Neil Hughes <[email protected]> wrote: > On Wed, 02 Apr 2008 21:34:49 -0400, Terry Maloney <[email protected]> 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(). -- Neil Hughes ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/