You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I want to give keywords a background/highlight color (the use of "highlight" might be a little confusing since the CSS property "-fx-highlight-fill" is actually a property for the selection color in JavaFX, but normally it is a term used for the background color of specific segments of text) by changing the properties in the java-keysword.css, how would I go on doing this? Is it possible?
I've tried using both "-fx-background color" and "-fx-background-fill", but neither seeems to do the trick:
I'm currently trying to customize the styles in your JavaKeywordsAsync.java example.
Say I want to give keywords a background/highlight color (the use of "highlight" might be a little confusing since the CSS property "-fx-highlight-fill" is actually a property for the selection color in JavaFX, but normally it is a term used for the background color of specific segments of text) by changing the properties in the java-keysword.css, how would I go on doing this? Is it possible?
I've tried using both "-fx-background color" and "-fx-background-fill", but neither seeems to do the trick:
.keyword {
-fx-fill: purple;
-fx-font-weight: bold;
-fx-background-color: blue;
-fx-background-fill: blue;
}
Thanks in advance!
Best regards
Jonatan
The text was updated successfully, but these errors were encountered: