javafx 8 - Should I apply padding and sizes to FXML or CSS? -


i know can want, best practice?

should use css make visual design of application (colors, hover-effects, backgrounds, text-styles, ...)? or should handle padding elements it?

if ask me, padding should set in fxml, because able use css stylesheet , apply application give new appearance. if handle padding in css , want use css application, may ugly, right?

some articles claim should as can in css. true?


Comments