dabo Commit
Revision 4541
Date: 2008-10-03 04:50:23 -0700 (Fri, 03 Oct 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4541
Changed:
U trunk/ide/ClassDesignerComponents.py
Log:
FIxed a problem introduced in the last commit with certain classes that are not
controlled by sizers.
Diff:
Modified: trunk/ide/ClassDesignerComponents.py
===================================================================
--- trunk/ide/ClassDesignerComponents.py 2008-10-03 01:44:46 UTC (rev
4540)
+++ trunk/ide/ClassDesignerComponents.py 2008-10-03 11:50:23 UTC (rev
4541)
@@ -142,7 +142,10 @@
## Note: there may be additional cases
where we might have to fine-tune
## which if these parameters are
skipped/included.
continue
- csz = self.ControllingSizer
+ try:
+ csz = self.ControllingSizer
+ except AttributeError:
+ csz = None
if (hasSizer or isinstance(self, dabo.ui.dPage) or
isSplitPanel) and prop in ("Width",
"Height") and ((csz is not None) and
csz.getItemProp(self, "Expand")):
continue
_______________________________________________
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]