IncDecButtons with discrete range


#1

Is there an easy way to only allow the IncDecButtons to use a discrete range of values? For example, powers of 2. I can roll my own solution using TextButtons but it would be nice to keep all the functionality of the Slider class.