In a HasTraits subclass, I have the following Trait defined:
tx_lane_sel = Range(0, 12)
If I display it in my View, using:
Item('tx_lane_sel')
it works as expected, displaying a slider bar, which ranges from 0 to 12. However, if I try to display it, using:
Item('tx_lane_sel', editor=RangeEditor(mode='spinner'))
the resultant spinner only offers me choices '0' and '1'!
How do I get the spinner working correctly? That is, how do I get it to offer me the full range [0, 12]?