dabo Commit
Revision 5780
Date: 2010-04-16 09:00:39 -0700 (Fri, 16 Apr 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5780
Changed:
U trunk/dabo/ui/uiwx/dSlider.py
Log:
Fixed a typo that would result in all sliders being reversed.
Diff:
Modified: trunk/dabo/ui/uiwx/dSlider.py
===================================================================
--- trunk/dabo/ui/uiwx/dSlider.py 2010-04-16 15:24:43 UTC (rev 5779)
+++ trunk/dabo/ui/uiwx/dSlider.py 2010-04-16 16:00:39 UTC (rev 5780)
@@ -38,7 +38,7 @@
if self._tickPosition:
tickpos = self.TickPosition[0].upper()
style = style | {"T": wx.SL_TOP, "B": wx.SL_BOTTOM,
"L": wx.SL_LEFT, "R": wx.SL_RIGHT}[tickpos]
- if reversed:
+ if self._reversed:
style = style | wx.SL_INVERSE
self._preInitProperties["style"] = style
@@ -194,6 +194,7 @@
self.Min = 23
self.Value = 75
self.ShowLabels = True
+ # Try changing these to see their effects
# self.Reversed = True
# self.TickPosition = "Left"
_______________________________________________
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]