[Erp5-report] r19348 - /erp5/trunk/products/ERP5Form/ScribusUtils.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 18 14:02:52 CET 2008


Author: fabien
Date: Mon Feb 18 14:02:51 2008
New Revision: 19348

URL: http://svn.erp5.org?rev=19348&view=rev
Log:
correct indentation problem
add a css white-space property that permit to enhance error message displaying
in not wraping message every words.

Modified:
    erp5/trunk/products/ERP5Form/ScribusUtils.py

Modified: erp5/trunk/products/ERP5Form/ScribusUtils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ScribusUtils.py?rev=19348&r1=19347&r2=19348&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ScribusUtils.py (original)
+++ erp5/trunk/products/ERP5Form/ScribusUtils.py Mon Feb 18 14:02:51 2008
@@ -833,7 +833,7 @@
       #properties_css_background['margin-left']= \
       #   str((x_pos- 5))+   'px' 
     else:
-      properties_css_page['margin-top'] = "%spx" %(40)
+      properties_css_page['margin-top'] = "%spx" % (40)
 
     # set width and height on page block
     properties_css_page['width'] = str (page_width) + 'px'
@@ -927,6 +927,7 @@
         str(12) + 'px'
     properties_css_object_err_d['margin-left'] = str(page_width +
         space_between_pages ) + 'px'
+    properties_css_object_err_d['white-space'] = 'nowrap'
     properties_css_object_stand['margin-top'] = \
       str((scaling_factor2 *float(properties_field['position_y']))) + 'px'
     properties_css_object_error['margin-top'] = \




More information about the Erp5-report mailing list