dabo Commit
Revision 4602
Date: 2008-10-24 15:27:07 -0700 (Fri, 24 Oct 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4602

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

Log:
Added some buffer space to the sides of the pageframe, which looks great
on Mac. I'll take a look to make sure it looks equally good on the other
platforms.


Diff:
Modified: trunk/dabo/lib/datanav2/Form.py
===================================================================
--- trunk/dabo/lib/datanav2/Form.py     2008-10-24 22:26:26 UTC (rev 4601)
+++ trunk/dabo/lib/datanav2/Form.py     2008-10-24 22:27:07 UTC (rev 4602)
@@ -272,7 +272,11 @@
                if self.beforeSetupPageFrame():
                        self.pageFrame = PageFrame.PageFrame(self, 
tabStyle=self.PageFrameStyle,
                                        TabPosition=self.PageTabPosition)
-                       self.Sizer.append(self.pageFrame, "expand", 1)
+                       hs = dabo.ui.dSizer("h")
+                       hs.appendSpacer((5,0))
+                       hs.append1x(self.pageFrame)
+                       hs.appendSpacer((5,0))
+                       self.Sizer.append1x(hs)
                        self.pageFrame.addSelectPage()
                        self.pageFrame.addBrowsePage()
                        if self.FormType != "PickList":




_______________________________________________
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