Hi,
   I tested Java 8u40. I get error when I run this part of the code:

setStyle("-fx-background-color: linear-gradient(to bottom, #FAFAFA,
#EAEAEA);"
            + " -fx-border: 2px solid; -fx-border-color: white;");

X 15, 2014 10:33:53 PM com.sun.javafx.css.parser.CSSParser declaration
WARNING: CSS Error parsing '*{-fx-background-color: linear-gradient(to
bottom, #FAFAFA, #EAEAEA); -f
x-border: 2px solid; -fx-border-color: white;}: expected series of <size>
while parsing '-fx-border'
 at [1,82]


Is this a bug or css code is wrong?

BR,
Peter

Reply via email to