dabo Commit
Revision 4577
Date: 2008-10-22 19:36:37 -0700 (Wed, 22 Oct 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4577

Changed:
U   trunk/dabo/lib/DesignerXmlConverter.py

Log:
Fixed a bug I introduced with the recent change to improve the sizing of 
LayoutPanels in cdxml designs.


Diff:
Modified: trunk/dabo/lib/DesignerXmlConverter.py
===================================================================
--- trunk/dabo/lib/DesignerXmlConverter.py      2008-10-22 17:23:04 UTC (rev 
4576)
+++ trunk/dabo/lib/DesignerXmlConverter.py      2008-10-23 02:36:37 UTC (rev 
4577)
@@ -322,6 +322,7 @@
                        isTree = (nm == "dTreeView")
                        # This will get set to True if we process a splitter 
control
                        isSplitter = False
+                       splitterString = ""
                        if os.path.exists(clsname) and atts.has_key("classID"):
                                chldList = [[child]] + specChildList[:]
                                nm = self.createInheritedClass(clsname, 
chldList)
@@ -399,7 +400,6 @@
                                moduleString = ""
                                isSplitter = atts.has_key("SashPosition")
                                isSlidePanel = atts.has_key("PanelCount")
-                               splitterString = ""
                                if isSplitter:
                                        pos = self._extractKey(cleanAtts, 
"SashPosition")
                                        ornt = self._extractKey(cleanAtts, 
"Orientation")




_______________________________________________
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