dabo Commit
Revision 3137
Date: 2007-05-25 16:49:07 -0700 (Fri, 25 May 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/3137

Changed:
U   trunk/dabo/dApp.py

Log:
For some reason, having an MDI form as the parent for my about window sizes the 
about window very large. This fixes it.

Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py  2007-05-25 23:30:26 UTC (rev 3136)
+++ trunk/dabo/dApp.py  2007-05-25 23:49:07 UTC (rev 3137)
@@ -668,6 +668,10 @@
                frm = self.ActiveForm
                if frm is None:
                        frm = self.MainForm
+               if frm.MDI:
+                       # Strange big sizing of the about form happens on 
Windows
+                       # when the parent form is MDI.
+                       frm = None
                dlg = about(frm)
                dlg.show()
        




_______________________________________________
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