I'm trying to add my custom values to a JFXButton
property class in the CSS stylesheet but I can't make these work:
.eliminarBtn {
-fx-background-color: #eb490f; //This work
-fx-font-color: WHITE; //This doesn't work
-fx-font-weight: bold; //This doesn't work. Edit: had to refresh(works)
-fx-font-size: 20px; //this work
-fx-background-radius: 8px; //This work
}
In this case, I know some of its values because Scene Builder has a drop-down to choose which and then I can type it out in the stylesheet. The others I tried using HTML standard with -fx- and hope to have it running but it didn't. So how do I add weight and color to the button text instead? By the way, I can set the CSS classes for any button node I need too.
Also, if you have a guide for JavaFX styles and/or JFoenix components please add me the link. Thanks.