java - JavaFX doesn't change the font of its components -
i specified font in style .css file:
-fx-background-color: #1e1c1e; -fx-font-family: "segoe ui", helvetica, arial, sans-serif;
but idea underlines second line: "mismatched property value null". tried set font in following way:
inputfield.setfont(font.font("segoe ui"));
all same. font won't change. i'd ask because i'm stucked issue.
Comments
Post a Comment