4 Replies Latest reply on Mar 26, 2014 12:40 PM by David Grieve-Oracle

    CSS styling of ScrollPanes broken in JavaFX 8?

    ibibby

      In my application, I have a ScrollPane. The CSS file sets the ScrollPane's background to a dark gray using the -fx-background-color setting... or at least it did. After moving to JavaFX 8, I've noticed that setting -fx-background-color on a ScrollPane now only sets the color of the thin lining around the scrollbars. The background of the ScrollPane remains a light grey color. In fact, I can't find a way to set the background color of a ScrollPane AT ALL anymore! Is this a bug, or is there a new way to do it that I'm missing?