dabo Commit
Revision 6546
Date: 2011-04-14 15:50:50 -0700 (Thu, 14 Apr 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6546

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

Log:
It is easier to deal with Memos, which can be set to grow downward automatically
by setting Height to None, if vAnchor is set to 'top' instead of the default
'bottom'. So this commit sets that, plus (in order for the object to still be
within the band and not right below it) the Memo's y equal to the default 
height,
resulting in no position change relative to before this commit.


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2011-04-13 23:43:03 UTC (rev 6545)
+++ trunk/dabo/lib/reportWriter.py      2011-04-14 22:50:50 UTC (rev 6546)
@@ -772,6 +772,8 @@
                del self.AvailableProps["Align"]
 
                self.AvailableProps["expr"]["default"] = "Memo"
+               self.AvailableProps["vAnchor"]["default"] = "top"
+               self.AvailableProps["y"]["default"] = 
self.AvailableProps["Height"]["default"]
 
                self.AvailableProps["PadLeft"] = toPropDict(float, 0,
                                """Specifies the padding on the left side of 
the frame.""")



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://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