> On Sep 25, 2024, at 10:50 AM, Cardone, Giovanni <[email protected]> > wrote: > > 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.
Hi Giovanni,
Thanks to Michael Schmid, this bug is fixed in the latest ImageJ daily build
(1.54m8).
-wayne
> 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
smime.p7s
Description: S/MIME cryptographic signature
