I have these sliders here:
And as you can see, they have the weirdest characters. How do I fix this/make them regular numbers? I've tried everything from setting the style of the scene to:
scene.getRoot().setStyle("-fx-font-family: 'serif'");
and also setting each slider, the panes, the HBox etc to the above, like so:
slider.setStyle("-fx-font-family: 'serif'");
slider.styleProperty().set("-fx-font-family: 'serif'");
slider.styleProperty().setValue("-fx-font-family: 'serif'");
sliderPane.setStyle("-fx-font-family: 'serif'");
hBox.setStyle("-fx-font-family: 'serif'");
this.setStyle("-fx-font-family: 'serif'");
I did this because something similar occurred with the slider labels as well, and setting the scene style to the serif font fixed it. But this time, nothing worked for the slider tick labels. Any idea what might be causing this?
