Slider-bar with Integer type

Forum for reporting bugs in the library
buffalo
Posts: 44
Joined: Thu Feb 25, 2016 10:34 am

Slider-bar with Integer type

Postby buffalo » Mon Feb 29, 2016 7:37 pm

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.

ThorPy
Site Admin
Posts: 21
Joined: Wed May 13, 2015 9:44 pm

Re: Slider-bar with Integer type

Postby ThorPy » Tue Mar 01, 2016 10:35 am

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.


Return to “Bug Tracking”

Who is online

Users browsing this forum: No registered users and 1 guest