My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 245: Various bugs in MTCircularSlider
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  txprog
Closed:  Apr 2010


 
Reported by ilya.cas...@gmail.com, Apr 19, 2010
- cannot set initial value by passing value= to __init__
- even so, _calculate_angle() relies on touch event, not the
  actual self._value value. So it does not render according to the value.
- _get_value wants a "value" parameter (?!)
- widget does not raise exception if min > max or if sweep_angle <= 0



Fix:
http://github.com/imc/pymt/commit/58b12a751070fb272e1288cf809a36fba108562a
Apr 19, 2010
#1 ilya.cas...@gmail.com
http://github.com/imc/pymt/commit/06a64b838940f002e2d7bd0a78060598f079ca69

also fix:
 - typo in __init__ (swee_angle instead of sweep_angle)
 - check that sweep_angle <= 360
 - set value only if in range [min,max]
Apr 19, 2010
Project Member #2 txprog
Thanks for the bugreport!
Status: Done
Owner: txprog
Jun 23, 2010
#3 metamor...@gmail.com
Hi,

Your fix just works if 'rotation' is set to 0. Otherwise strange things happen.
I'm sorry but I'm just starting with python, too hard for me to fix (I've tried to)
Hope it helps!


Powered by Google Project Hosting