dabo Commit
Revision 7282
Date: 2012-10-14 14:33:26 -0700 (Sun, 14 Oct 2012)
Author: Nate
Trac: http://trac.dabodev.com/changeset/7282
Changed:
U trunk/dabo/ui/uiwx/dNumericBox.py
Log:
Specified a default font on OS X for the dNumericBox. Otherwise it defaults to
Monaco and looks rather ugly.
Diff:
Modified: trunk/dabo/ui/uiwx/dNumericBox.py
===================================================================
--- trunk/dabo/ui/uiwx/dNumericBox.py 2012-10-14 21:07:03 UTC (rev 7281)
+++ trunk/dabo/ui/uiwx/dNumericBox.py 2012-10-14 21:33:26 UTC (rev 7282)
@@ -66,6 +66,8 @@
fontFace = self._extractKey((properties, attProperties,
kwargs), "FontFace", "")
if not fontFace and self.Application.Platform in ("Win",):
fontFace = "Tahoma"
+ elif not fontFace and self.Application.Platform in ("Mac",):
+ fontFace = "Lucida Grande"
if fontFace:
kwargs["FontFace"] = fontFace
dtbm.dTextBoxMixin.__init__(self, masked.NumCtrl, parent,
properties,
_______________________________________________
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]