Note: I have selected the affected version to be J12009 ( I mean version 1.2 - I can't find this in the list).
The following CSS (and any combination of attribute values therein ) works fine in version 1.1
"javafx.scene.text.Text" {
font:bold italic 11pt "Verdana";
textAlignment : RIGHT; /* CENTER JUSTIFY LEFT RIGHT */
textOrigin : BASELINE; /* BASELINE BOTTOM TOP */
}
But throws ( similar exception for both textAlignment and textOrigin and for any of the legal values) in version 1.2
java.lang.IllegalArgumentException: unsupported type: JavaType[javafx.scene.text.TextAlignment] RIGHT
at com.sun.stylesheet.types.TypeManager.convertFromString(TypeManager.java:411)
at com.sun.stylesheet.styleable.DefaultStyleable.convertPropertyFromString(DefaultStyleable.java:158)
at com.sun.stylesheet.Declaration.convertValue(Declaration.java:76)
at com.sun.stylesheet.Declaration.applyTo(Declaration.java:91)
at com.sun.stylesheet.Rule.applyTo(Rule.java:221)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:269)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:274)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:274)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:274)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:251)
at javafx.scene.Scene.applyStylesheets(Scene.fx:332)
at javafx.scene.Scene.userInit$(Scene.fx:306)
at com.sun.javafx.runtime.FXBase.complete$(FXBase.java:56)
at javafxapp.Main.javafx$run$(Main.fx:25)
at javafxapp.Main.javafx$run$(Main.fx:25)
The following CSS (and any combination of attribute values therein ) works fine in version 1.1
"javafx.scene.text.Text" {
font:bold italic 11pt "Verdana";
textAlignment : RIGHT; /* CENTER JUSTIFY LEFT RIGHT */
textOrigin : BASELINE; /* BASELINE BOTTOM TOP */
}
But throws ( similar exception for both textAlignment and textOrigin and for any of the legal values) in version 1.2
java.lang.IllegalArgumentException: unsupported type: JavaType[javafx.scene.text.TextAlignment] RIGHT
at com.sun.stylesheet.types.TypeManager.convertFromString(TypeManager.java:411)
at com.sun.stylesheet.styleable.DefaultStyleable.convertPropertyFromString(DefaultStyleable.java:158)
at com.sun.stylesheet.Declaration.convertValue(Declaration.java:76)
at com.sun.stylesheet.Declaration.applyTo(Declaration.java:91)
at com.sun.stylesheet.Rule.applyTo(Rule.java:221)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:269)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:274)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:274)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:274)
at com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:251)
at javafx.scene.Scene.applyStylesheets(Scene.fx:332)
at javafx.scene.Scene.userInit$(Scene.fx:306)
at com.sun.javafx.runtime.FXBase.complete$(FXBase.java:56)
at javafxapp.Main.javafx$run$(Main.fx:25)
at javafxapp.Main.javafx$run$(Main.fx:25)