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

Changed:
U   trunk/ide/ReportDesigner.py

Log:
When a Memo's Height is None, it means that it will size to the needs of the
display of the data at runtime. Up until now, the designer surface just used
23 as the height. This commit sets the designer to use the value of Height_def
instead, giving the appdev the ability to tweak how it lays out in the 
designer.


Diff:
Modified: trunk/ide/ReportDesigner.py
===================================================================
--- trunk/ide/ReportDesigner.py 2011-04-14 22:50:50 UTC (rev 6546)
+++ trunk/ide/ReportDesigner.py 2011-04-14 22:52:44 UTC (rev 6547)
@@ -1303,8 +1303,8 @@
                        vAnchor = obj.getProp("vAnchor").lower()
 
                        if height is None:
-                               # dynamic height. Fake it here for now:
-                               height = 23
+                               # Dynamic height: use Height_def for the 
designer surface.
+                               height = obj.getProp("Height_def")
 
                        height = rw.getPt(height)
 



_______________________________________________
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