dabo Commit
Revision 5507
Date: 2009-10-27 15:20:26 -0700 (Tue, 27 Oct 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5507

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

Log:
Spinner was not filling up all available space in the sizer, due to the 
fitToSizer() call in the __init__ phase. Changing to layout() fixed the issue.  
Also removed the space between the textbox and the arrows, as I think it looks 
better without.

Diff:
Modified: trunk/dabo/ui/uiwx/dSpinner.py
===================================================================
--- trunk/dabo/ui/uiwx/dSpinner.py      2009-10-27 21:56:23 UTC (rev 5506)
+++ trunk/dabo/ui/uiwx/dSpinner.py      2009-10-27 22:20:26 UTC (rev 5507)
@@ -51,9 +51,10 @@
                self.__constructed = True
                self.Sizer = dabo.ui.dSizer("h")
                self.Sizer.append(self._proxy_textbox, 1, valign="middle")
-               self.Sizer.appendSpacer(2)
+               #self.Sizer.appendSpacer((2,0))  ## pkm: I think it looks 
better without...
                self.Sizer.append(self._proxy_spinner, valign="middle")
-               self.fitToSizer()
+               self.layout()
+
                # Because several properties could not be set until after the 
child
                # objects were created, we need to manually call 
_setProperties() here.
                self._properties["NameBase"] = nm




_______________________________________________
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