dabo Commit
Revision 7291
Date: 2012-12-12 16:17:28 -0800 (Wed, 12 Dec 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7291

Changed:
U   trunk/dabo/lib/reportWriter.py

Log:
Reportwriter points are floats, not decimals. Fixed bug when
setting vAnchor to middle.


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2012-12-07 09:35:03 UTC (rev 7290)
+++ trunk/dabo/lib/reportWriter.py      2012-12-13 00:17:28 UTC (rev 7291)
@@ -582,7 +582,7 @@
                if vAnchor == "bottom":
                        ret += height
                if vAnchor == "middle":
-                       ret += (height / Decimal("2"))
+                       ret += (height / 2.)
                return ret
 
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to