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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -