daboide Commit
Revision 874
Date: 2007-08-29 13:36:49 -0700 (Wed, 29 Aug 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/daboide/changeset/874
Changed:
U trunk/ClassDesignerComponents.py
Log:
Fixed a problem wherein items in a grid sizer would have their sizer info
incorrectly overwritten.
Diff:
Modified: trunk/ClassDesignerComponents.py
===================================================================
--- trunk/ClassDesignerComponents.py 2007-08-14 20:12:36 UTC (rev 873)
+++ trunk/ClassDesignerComponents.py 2007-08-29 20:36:49 UTC (rev 874)
@@ -1502,7 +1502,8 @@
# Save the position
kidDict["attributes"]["rowColPos"] =
self.getGridPos(kid)
# Add the sizer item info to the item contents
- kidDict["attributes"]["sizerInfo"] = itmDiffDict
+ if not kidDict["attributes"].get("sizerInfo"):
+ kidDict["attributes"]["sizerInfo"] = itmDiffDict
# Add to the result
ret.append(kidDict)
return ret
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]