Another bug in Mac Resource Editor?
Terry Maloney <[email protected]> Wed, 02 Apr 2008 21:34:49 -0400
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
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 looked at my rsrc.py file in the code editor, and it turned out
this multicolumn didn't have a size line:
{'type':'MultiColumnList',
'name':'List1',
'position':(19, 500),
'columnHeadings':[u"['List', Second Title']"],
'font':{'faceName': u'Lucida Grande', 'family': 'default',
'size': 12},
'items':[],
'maxColumns':20,
'rules':1,
},
I added a line 'size':(500, 200),
And it now 'appears' fine in both the running app and the Resource
Editor ... however the size as reported by the RE's Property Editor
window remains (-1, -1) ...
Have no idea if this is a bug in RE itself or the MultiColumnList
component, but fwiw to any one who does.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace