-
Enhancement
-
Resolution: Fixed
-
P4
-
fx2.0
Although all positional properties in JavaFX accepts double parameters, the Text.setWrappingWidth method takes an integer. So the developer is using methods like
Text.setX(double), and
ImageView.setFitWidth(double)
and many more. But when it comes to setWrappingWidth(), you are required to cast your double to an (int). That seems odd. Since Java FX uses doubles in general, I think Text.setWrappingWidth should too.
Text.setX(double), and
ImageView.setFitWidth(double)
and many more. But when it comes to setWrappingWidth(), you are required to cast your double to an (int). That seems odd. Since Java FX uses doubles in general, I think Text.setWrappingWidth should too.