I created horizontal Slider in FXML, min=0, max=2, majorTick=0.5, minorTick=0
I checked snapToTicks checkbox in scene builder, but it doesn't work
I tried to set tick units in java and also slider.setSnapToTicks(true) but it doesn't work either.
output of valueProperty:
0.579059829059829
0.5683760683760684
0.5576923076923077
0.5470085470085468
0.5363247863247862
0.5149572649572649
0.5042735042735043
0.4935897435897434
0.48290598290598274
0.46153846153846145
0.4508547008547008
0.4294871794871793
0.41880341880341865
0.39743589743589736
0.3867521367521367
I checked snapToTicks checkbox in scene builder, but it doesn't work
I tried to set tick units in java and also slider.setSnapToTicks(true) but it doesn't work either.
output of valueProperty:
0.579059829059829
0.5683760683760684
0.5576923076923077
0.5470085470085468
0.5363247863247862
0.5149572649572649
0.5042735042735043
0.4935897435897434
0.48290598290598274
0.46153846153846145
0.4508547008547008
0.4294871794871793
0.41880341880341865
0.39743589743589736
0.3867521367521367