main logo
Subject: [dabo-dev] daboide Commit 564
Author: Ed Leafe
Posted: 2006/04/30 11:32:22
 
View Entire Thread
New Search


daboide Commit
Revision 564
Date: 2006-04-30 09:32:22 -0700 (Sun, 30 Apr 2006)
Author: ed

Changed:
U trunk/ClassDesignerComponents.py

Log:
Fixes the default for sizer orientation not being preserved with nested classes. Tracker #0132.


Diff:
Modified: trunk/ClassDesignerComponents.py
===================================================================
--- trunk/ClassDesignerComponents.py 2006-04-29 02:06:39 UTC (rev 563)
+++ trunk/ClassDesignerComponents.py 2006-04-30 16:32:22 UTC (rev 564)
@@ -73,6 +73,15 @@
else:
ret["code"] = self.getCode()

+
+# if insideClass:
+# try:
+# print "CLASSDICT", classDict
+# except:
+# print "MYID", myID
+# print "GETDEF", self.Application.getDefaultValues(self)
+# print
+
defVals = self.Application.getDefaultValues(self)
if insideClass:
if classDict:
@@ -90,7 +99,7 @@
propsToInclude = ("classID")
else:
propsToInclude = ("Caption", "Choices", "ColumnCount",
- "PageCount", "ScaleMode", "SlotCount")
+ "Orientation", "PageCount", "ScaleMode", "SlotCount")
# We want to exclude some props, since they are derived from
# other props or are settable via other props (fonts).
propsToExclude = ("Right", "Bottom", "Font", "HeaderFont")





 
©2006 Ed Leafe
<-- Prior Message New Search Next Message -->