[Zope-CVS] SVN: zc.datetimewidget/trunk/src/zc/datetimewidget/datetimewidget.py date widgets should be a bit narrower

Fred L. Drake, Jr. fdrake at gmail.com
Thu Feb 23 14:44:50 EST 2006


Log message for revision 41765:
  date widgets should be a bit narrower

Changed:
  U   zc.datetimewidget/trunk/src/zc/datetimewidget/datetimewidget.py

-=-
Modified: zc.datetimewidget/trunk/src/zc/datetimewidget/datetimewidget.py
===================================================================
--- zc.datetimewidget/trunk/src/zc/datetimewidget/datetimewidget.py	2006-02-23 17:37:06 UTC (rev 41764)
+++ zc.datetimewidget/trunk/src/zc/datetimewidget/datetimewidget.py	2006-02-23 19:44:50 UTC (rev 41765)
@@ -91,6 +91,8 @@
 class DateWidget(DatetimeBase, textwidgets.DateWidget):
     """Date entry widget."""
 
+    displayWidth = 10
+
     def _toFormValue(self, value):
         return localizeDateTime(
             super(DateWidget, self)._toFormValue(value), self.request)



More information about the Zope-CVS mailing list