This gives me better.  it's a hack, pretty sure you don't want to just use it, 
but it might be a start on a corect fix.

Carl K

Index: Form.py
===================================================================
--- Form.py     (revision 5133)
+++ Form.py     (working copy)
@@ -850,7 +850,7 @@
        </groups>

        <detail>
-               <height>None</height>
+               <height>800</height>
                <objects>"""
                horBuffer = 3
                vertBuffer = 5
@@ -864,8 +864,12 @@
                                        "FontSize": o.FontSize,
                                        "Width": o.Width,
                                        "Left": obj[0][0],
-                                       "Top": obj[0][1]}
+                                       "Top": obj[0][1],
+                                       "x": 10,
+                                       "y": 800-obj[0][1]/3,
+                    }

+
                        if isinstance(o, dabo.ui.dLabel):
                                obDict["Caption"] = o.Caption
                                rfxml += """
@@ -875,8 +879,10 @@
                                <align>"%(Alignment)s"</align>
                                <fontSize>%(FontSize)s</fontSize>
                                <width>%(Width)s</width>
-                               <x>%(Left)s</x>
-                               <y>self.Bands["detail"]["height"] - %(Top)s</y>
+                               <!--x>%(Left)s</x -->
+                               <x>%(x)s</x>
+                               <!-- y>self.Bands["detail"]["height"] - 
%(Top)s</y -->
+                               <y>%(y)s</y>
                        </string>""" % obDict

                        else:
@@ -908,8 +914,10 @@
                                <align>"%(Alignment)s"</align>
                                <fontSize>%(FontSize)s</fontSize>
                                <width>%(Width)s</width>
-                               <x>%(Left)s + 10</x>
-                               <y>self.Bands["detail"]["height"] - %(Top)s</y>
+                               <!--x>%(Left)s + 10</x -->
+                               <x>%(x)s</x>
+                               <!-- y>self.Bands["detail"]["height"] - 
%(Top)s</y -->
+                               <y>%(y)s</y>
                        </string>""" % obDict

                orientation = "portrait"


_______________________________________________
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