dabo Commit
Revision 5508
Date: 2009-10-27 15:25:44 -0700 (Tue, 27 Oct 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5508
Changed:
U trunk/dabo/ui/uiwx/dSpinner.py
Log:
Changed the sizer options to be (1, "expand") for the textbox, to make sure the
textbox is as tall as the arrows, and the arrows to be "expand" to make sure
the arrows are as tall as the textbox.
Diff:
Modified: trunk/dabo/ui/uiwx/dSpinner.py
===================================================================
--- trunk/dabo/ui/uiwx/dSpinner.py 2009-10-27 22:20:26 UTC (rev 5507)
+++ trunk/dabo/ui/uiwx/dSpinner.py 2009-10-27 22:25:44 UTC (rev 5508)
@@ -50,9 +50,9 @@
self._proxy_spinner = _dSpinButton(parent=self,
_EventTarget=self)
self.__constructed = True
self.Sizer = dabo.ui.dSizer("h")
- self.Sizer.append(self._proxy_textbox, 1, valign="middle")
+ self.Sizer.append1x(self._proxy_textbox, valign="middle")
#self.Sizer.appendSpacer((2,0)) ## pkm: I think it looks
better without...
- self.Sizer.append(self._proxy_spinner, valign="middle")
+ self.Sizer.append(self._proxy_spinner, "expand",
valign="middle")
self.layout()
# Because several properties could not be set until after the
child
_______________________________________________
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]