Update of /cvsroot/pythonreports/PythonReports/PythonReports
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29528
Modified Files:
builder.py
Log Message:
removed extra empty horizontal pixel line between sections
Index: builder.py
===================================================================
RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/builder.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** builder.py 7 Jan 2011 10:35:30 -0000 1.9
--- builder.py 18 Jan 2011 16:00:25 -0000 1.10
***************
*** 2,5 ****
--- 2,6 ----
# FIXME: column-based variables are not intelligible
"""History (most recent first):
+ 18-jan-2011 [luch] removed extra empty horizontal pixel line between sections
07-jan-2011 [als] fix py2.7 FutureWarnings for "if section"
19-dec-2006 [als] straighten "if not/else" logic in Builder.run_subreport();
***************
*** 569,573 ****
_elements = self.template.getchildren()
# section is resizeable if it's height is not fixed
! # for resizeable secions, final size must be recalculated after filling
self.resizeable = self.tbox.height <= 0
if not self.resizeable:
--- 570,574 ----
_elements = self.template.getchildren()
# section is resizeable if it's height is not fixed
! # then final size must be recalculated after filling
self.resizeable = self.tbox.height <= 0
if not self.resizeable:
***************
*** 1817,1821 ****
# without adding the section to the page
self.page.append(section)
! self.cur_y = section.box.y + section.box.height + 1
if section.template.tag in ("header", "title"):
# adjust top margin of all contained frames
--- 1818,1822 ----
# without adding the section to the page
self.page.append(section)
! self.cur_y = section.box.y + section.box.height
if section.template.tag in ("header", "title"):
# adjust top margin of all contained frames
|