Page 1 of 1

Slider-bar with Integer type

Posted: Mon Feb 29, 2016 7:37 pm
by buffalo
Linux, python 3.4.3 , thorpy 1.5.1

Code: Select all

slider = thorpy.SliderX.make(200, (10, 1000), "Slider: ", type_=int,
                                initial_value= 50)


It does 'floatting-slides' where i need only int values.

Re: Slider-bar with Integer type

Posted: Tue Mar 01, 2016 10:35 am
by ThorPy
Thanks for the report, this has been fixed and included in next version.

For the moment, you can fix it by hand by adding:

Code: Select all

slider._value_type = int


after you make the slider.