|
From: Terry M. <ter...@gl...> - 2008-04-03 01:34:55
|
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.
|