dabo Commit
Revision 1870
Date: 2006-01-26 19:40:40 -0800 (Thu, 26 Jan 2006)
Author: ed

Changed:
U   trunk/dabo/ui/uiwx/dPage.py

Log:
Added back the SetScrollbars() call that was just removed from dScrollPanel. 
Without it, pages don't seem to fill their pageframe unless you manually resize 
the pageframe to force a layout call. I don't know why this is, but the Editor 
was looking pretty funky every time I opened up a new file!


Diff:
Modified: trunk/dabo/ui/uiwx/dPage.py
===================================================================
--- trunk/dabo/ui/uiwx/dPage.py 2006-01-27 02:07:39 UTC (rev 1869)
+++ trunk/dabo/ui/uiwx/dPage.py 2006-01-27 03:40:40 UTC (rev 1870)
@@ -8,8 +8,9 @@
        def __init__(self, *args, **kwargs):
                super(dPage, self).__init__(*args, **kwargs)
                self._baseClass = dPage 
+               self.SetScrollbars(10, 10, -1, -1)
+
                
-               
        def _afterInit(self):
                self.initSizer()
                self.itemsCreated = False




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to