dabo Commit
Revision 2179
Date: 2006-05-27 13:13:45 -0700 (Sat, 27 May 2006)
Author: ed

Changed:
U   trunk/dabo/ui/dialogs/login.py

Log:
Fixed the sizing issue when displaying the login dialog at low resolutions. 
Tracker #0157.


Diff:
Modified: trunk/dabo/ui/dialogs/login.py
===================================================================
--- trunk/dabo/ui/dialogs/login.py      2006-05-27 15:36:24 UTC (rev 2178)
+++ trunk/dabo/ui/dialogs/login.py      2006-05-27 20:13:45 UTC (rev 2179)
@@ -38,7 +38,7 @@
                
 class Login(dabo.ui.dOkCancelDialog):
        def initProperties(self):
-               self.AutoSize = False
+               self.AutoSize = True
                self.BorderResizable = True
                if self.Application:
                        appName = self.Application.getAppInfo("appName")
@@ -83,14 +83,14 @@
                bs = dabo.ui.dSizer("horizontal")
                
                bs.append(self.lblUserName)
+               bs.append((5,0))
                bs.append(self.txtUserName, proportion=1)
-               bs.append((5,0))
                vs.append(bs, "expand", 1)
                
                bs = dabo.ui.dSizer("horizontal")
                bs.append(self.lblPassword)
+               bs.append((5,0))
                bs.append(self.txtPassword, proportion=1)
-               bs.append((5,0))
                vs.append(bs, "expand", 1)
                
                bs1.append(vs, proportion=1)




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

Reply via email to