In the display shelf sample in ensemble we set the scrollbar color with:
scrollBar.setStyle("-fx-base: #202020; -fx-background: #202020;");
This used to work. I have added a workaround to Ensemble GA, to use a id and css stylesheet.
scrollBar.setStyle("-fx-base: #202020; -fx-background: #202020;");
This used to work. I have added a workaround to Ensemble GA, to use a id and css stylesheet.
- duplicates
-
JDK-8128350 looked-up-color doesn't work unless it is defined in a CSS style sheet
-
- Closed
-
-
JDK-8128637 Error generated when assigning CSS style class on a SplitMenuButton nested within another menu
-
- Closed
-