dabo Commit
Revision 3897
Date: 2008-01-29 06:57:54 -0800 (Tue, 29 Jan 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/3897

Changed:
U   trunk/dabo/lib/datanav2/Page.py

Log:
Removed some hackish code that doesn't appear to be necessary anymore, if it
ever was. Thanks Pedro Vale de Gato.


Diff:
Modified: trunk/dabo/lib/datanav2/Page.py
===================================================================
--- trunk/dabo/lib/datanav2/Page.py     2008-01-27 15:08:01 UTC (rev 3896)
+++ trunk/dabo/lib/datanav2/Page.py     2008-01-29 14:57:54 UTC (rev 3897)
@@ -464,7 +464,6 @@
                if Name is None:
                        Name = "pageBrowse"
                super(BrowsePage, self).__init__(parent, Name=Name, *args, 
**kwargs)
-               self._doneLayout = False
 
 
        def initEvents(self):
@@ -474,11 +473,6 @@
 
        def __onPageEnter(self, evt):
                self.updateGrid()
-               if not self._doneLayout:
-                       self._doneLayout = True
-                       self.Form.Height += 1
-                       self.Layout()
-                       self.Form.Height -= 1
                if self.Form.SetFocusToBrowseGrid:
                        self.BrowseGrid.setFocus()
 




_______________________________________________
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