Closed barmat80 closed 1 year ago
You haven't set up the theme properly, so your nodes are receiving styles from both Modena and AtlantaFX.
scene.getStylesheets().add(Main.class.getResource("css/nord-light.css").toExternalForm());
You should use the setUserAgentStylesheet()
method exactly as specified on the front page.
Application.setUserAgentStylesheet(new PrimerLight().getUserAgentStylesheet());
// or
Application.setUserAgentStylesheet(/* path to the CSS file */);
Using all themes, DatePicker always renders quite different from AtlantaFX Sampler, but I can't understand why,
Below my code (partially copied from the Sampler):
Am I missing something or doing something wrong?
PS: Something similar happens also with TableView...