Change color of icon using css
Issue #50
new
how can i change color of icon using css
Comments (2)
-
reporter -
I attempted to do this with:
Node myIcon = new FontAwesomeIconView(FontAwesome.FILES); myIcon.setStyle("-fx-fill: -fx-text-base-color;");
To get the icon color to match the text color. The color changes correctly, but the glyph becomes either the wrong glyph or more often an empty box glyph.
- Log in to comment
text as soon as possible