This content has been marked as final. Show 4 replies
You can throw the -nocss2bin switch at javafxpackager.1 person found this helpful
I would be interested in knowing what styles didn't apply from the binary css format but did from the ascii format. There should be no reason that the styles wouldn't be applied from the binary format. That they are not indicates to me that there is a bug lurking there. Would you mind filing a bug on https://javafx-jira.kenai.com?
Sure, I can file one tomorrow. FWIW, the style that didn't apply is the following, which I am applying to a BorderPane:
-fx-background-color: linear-gradient(white, #202020);
Btw, would you know how to cause the -nocss2bin argument to be sent to javafxpackager automatically by configuring javafx-maven-plugin in my pom file, by any chance?
I don't know a thing about maven. But I think you need this in the configuration
<packageAsJar> <setCss2bin>false</setCss2bin> </packageAsJar>