dabo Commit
Revision 5429
Date: 2009-09-26 10:29:03 -0700 (Sat, 26 Sep 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5429

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

Log:
Added missing sizer defaults for the dLed class.


Diff:
Modified: trunk/dabo/lib/DesignerUtils.py
===================================================================
--- trunk/dabo/lib/DesignerUtils.py     2009-09-26 17:28:39 UTC (rev 5428)
+++ trunk/dabo/lib/DesignerUtils.py     2009-09-26 17:29:03 UTC (rev 5429)
@@ -166,6 +166,12 @@
        dct["G"].update({"Proportion" : 0, "Expand" : False, "HAlign" : 
"center", "VAlign" : "middle"})
        dct["H"].update({"Proportion" : 1, "Expand" : False, "HAlign": 
"center"})
        dct["V"].update({"Proportion" : 0, "Expand" : True, "VAlign": "middle"})
+       dct = copy.deepcopy(defVals)
+       dct["G"].update({"Proportion" : 1, "Expand" : True, "HAlign" : 
"center", "VAlign" : "middle"})
+       dct["H"].update({"Proportion" : 1, "Expand" : True, "HAlign": "center"})
+       dct["V"].update({"Proportion" : 1, "Expand" : True, "VAlign": "middle"})
+       szDefaults[dui.dLed] = dct
+       szDefaults["dLed"] = dct
        szDefaults[dui.dLine] = dct
        szDefaults["dLine"] = dct
        dct = copy.deepcopy(defVals)




_______________________________________________
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