dabo Commit
Revision 4562
Date: 2008-10-12 06:09:59 -0700 (Sun, 12 Oct 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4562

Changed:
U   trunk/ide/ClassDesigner.py

Log:
Fixed a bug first reported by Richard Esplin in which changing a non-border 
sizer to a border sizer resulted in the box being saved as a separate component.


Diff:
Modified: trunk/ide/ClassDesigner.py
===================================================================
--- trunk/ide/ClassDesigner.py  2008-10-12 13:06:03 UTC (rev 4561)
+++ trunk/ide/ClassDesigner.py  2008-10-12 13:09:59 UTC (rev 4562)
@@ -2376,7 +2376,7 @@
                if isinstance(fromSz, dui.dBorderSizer):
                        toSz = LayoutSizer()
                else:
-                       toSz = LayoutBorderSizer(parent)
+                       toSz = LayoutBorderSizer(box=dui.dBox(parent))
                toSz.Orientation = ornt
                memberItems = fromSz.Children
                members = [fromSz.getItem(mem) for mem in memberItems]




_______________________________________________
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/[EMAIL PROTECTED]

Reply via email to