r22221 - gnucash/branches/2.4/src/report/standard-reports - Add formatting to table.

Mike Evans mikee at code.gnucash.org
Sat Jun 16 07:37:00 EDT 2012


Author: mikee
Date: 2012-06-16 07:36:59 -0400 (Sat, 16 Jun 2012)
New Revision: 22221
Trac: http://svn.gnucash.org/trac/changeset/22221

Modified:
   gnucash/branches/2.4/src/report/standard-reports/net-linechart.scm
Log:
Add formatting to table.

Add cell padding to columns in table.

Modified: gnucash/branches/2.4/src/report/standard-reports/net-linechart.scm
===================================================================
--- gnucash/branches/2.4/src/report/standard-reports/net-linechart.scm	2012-06-16 10:50:23 UTC (rev 22220)
+++ gnucash/branches/2.4/src/report/standard-reports/net-linechart.scm	2012-06-16 11:36:59 UTC (rev 22221)
@@ -368,6 +368,11 @@
            (gnc:html-document-add-object! document chart) 
              (if show-table?
              (let ((table (gnc:make-html-table)))
+             (gnc:html-table-set-style!
+                 table "table"
+                 'attribute (list "border" 0)
+                 'attribute (list "cellspacing" 0)
+                 'attribute (list "cellpadding" 4))
                 (gnc:html-table-set-col-headers!
                  table
                  (append



More information about the gnucash-changes mailing list