daboide Commit
Revision 320
Date: 2006-01-10 19:55:12 -0800 (Tue, 10 Jan 2006)
Author: ed
Changed:
U trunk/Designer.py
Log:
Fixed problem with restoring spacer from .cdxml file.
Diff:
Modified: trunk/Designer.py
===================================================================
--- trunk/Designer.py 2006-01-11 02:55:31 UTC (rev 319)
+++ trunk/Designer.py 2006-01-11 03:55:12 UTC (rev 320)
@@ -1229,7 +1229,9 @@
else:
if isSpacer:
- newSizer = LayoutSpacerPanel(obj, Spacing=(spc,
spc))
+ if isinstance(spc, int):
+ spc = (spc, spc)
+ newSizer = LayoutSpacerPanel(obj, Spacing=spc)
elif isBox:
newSizer = LayoutSizer(orient)
else:
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev