dabo Commit
Revision 6987
Date: 2011-11-25 11:24:52 -0800 (Fri, 25 Nov 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6987

Changed:
U   trunk/ide/ClassDesignerControlMixin.py

Log:
The dShell class only effectively supports the FontFace and FontSize props of 
the typical Font* family, so I updated the DesignerProps to only include those 
two.

Diff:
Modified: trunk/ide/ClassDesignerControlMixin.py
===================================================================
--- trunk/ide/ClassDesignerControlMixin.py      2011-11-25 18:48:03 UTC (rev 
6986)
+++ trunk/ide/ClassDesignerControlMixin.py      2011-11-25 19:24:52 UTC (rev 
6987)
@@ -1050,7 +1050,9 @@
                        ret.update(scrollProps)
                        ret.update(colorProps)
                elif isinstance(self, dui.dShell):
-                       ret.update(fontProps)
+                       ret.update({"FontFace": {"type": list, "readonly": 
False,
+                                               "values": 
dui.getAvailableFonts()},
+                                               "FontSize": {"type": int, 
"readonly": False}})
                elif isinstance(self, dui.dPanel):
                        ret.update(panelProps)
                        ret.update(colorProps)



_______________________________________________
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