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

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -