Hi,

I experience the following issue when creating a GUI in jython containing a 
slider with range 0 to 1.
Specifically, I cannot change the value beyond 0.58 when using the right arrow 
in the slider.
However, I can move beyond this invisible limit moving the slider with the 
mouse.
When trying the same with the wheel, I have to spin it very fast, otherwise it 
gets stuck to the same limit.
I looked at the code and I can only see that the settings of the slider are 
different, depending if the maximum value is below or above 5.
Below is the code reproducing the issue, at least on my Windows 11 computer.

Do you also experience this behavior?
Thank you.

Best,
Giovanni


from ij import IJ

from ij.gui import GenericDialog


gd = GenericDialog("Try with right arrow to go past 0.58")

gd.addSlider("Slider", 0., 1., 0.50, 0.01)

gd.showDialog()


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to