dabo Commit
Revision 4107
Date: 2008-06-01 04:59:08 -0700 (Sun, 01 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4107
Changed:
U trunk/dabo/ui/uiwx/dSizerMixin.py
Log:
Added a check to the addDefaultSpacer() method to ensure that such default
spacers are not re-added to Class Designer instances.
Diff:
Modified: trunk/dabo/ui/uiwx/dSizerMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dSizerMixin.py 2008-06-01 11:58:26 UTC (rev 4106)
+++ trunk/dabo/ui/uiwx/dSizerMixin.py 2008-06-01 11:59:08 UTC (rev 4107)
@@ -218,7 +218,8 @@
def addDefaultSpacer(self, pos=None):
spc = self.DefaultSpacing
- if spc:
+ if spc and not hasattr(self, "isDesignerSizer"):
+ # Don't add default spacers in the Designer
self.addSpacer(spc, pos)
_______________________________________________
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]