[Erp5-report] r20492 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 14 16:15:32 CEST 2008
Author: rafael
Date: Mon Apr 14 16:15:31 2008
New Revision: 20492
URL: http://svn.erp5.org?rev=20492&view=rev
Log:
Fixed error during on-the-fly edition. When you edit one object, the size of block increase wrongly because border was added as a part of size. So 2 pixels was added every edition.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml?rev=20492&r1=20491&r2=20492&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.xml Mon Apr 14 16:15:31 2008
@@ -604,8 +604,9 @@
block_dict[\'height\'] = block_object.position_y.relative_range * size_planning_height\n
if block_object.parent_activity.height is not None:\n
block_dict[\'height\'] = block_dict[\'height\']*block_object.parent_activity.height\n
-\n
- block_dict[\'width\'] = block_object.position_x.relative_range * size_planning_width\n
+ \n
+ # width - border width * 2 to prevent wrong edition\n
+ block_dict[\'width\'] = (block_object.position_x.relative_range * size_planning_width) - 2\n
#block_dict[\'height\'] = block_object.position_y.relative_range * size_planning_height\n
block_dict[\'margin-left\'] = block_object.position_x.relative_begin * size_planning_width\n
block_dict[\'margin-top\'] = block_object.position_y.relative_begin * size_planning_height\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=20492&r1=20491&r2=20492&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Apr 14 16:15:31 2008
@@ -1,1 +1,1 @@
-524
+525
More information about the Erp5-report
mailing list