dabo Commit
Revision 3648
Date: 2007-11-11 07:32:10 -0800 (Sun, 11 Nov 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3648

Changed:
U   trunk/demo/DaboDemo.cdxml

Log:
Added a default sizing for the DaboDemo form.


Diff:
Modified: trunk/demo/DaboDemo.cdxml
===================================================================
--- trunk/demo/DaboDemo.cdxml   2007-11-11 15:32:01 UTC (rev 3647)
+++ trunk/demo/DaboDemo.cdxml   2007-11-11 15:32:10 UTC (rev 3648)
@@ -40,6 +40,11 @@
                <afterInit><![CDATA[
 def afterInit(self):
        self.BasePrefKey = "demo.DaboDemo"
+       self._defaultLeft = 50
+       self._defaultTop = 50
+       w, h = dabo.ui.getDisplaySize()
+       self._defaultWidth = w - 100
+       self._defaultHeight = h - 100
        self.setupMenu()
 ]]>
                </afterInit>




_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]

Reply via email to