Forum Stats

  • 3,752,058 Users
  • 2,250,452 Discussions
  • 7,867,705 Comments

Discussions

CSS styling of ScrollPanes broken in JavaFX 8?

ibibby
ibibby Member Posts: 67
edited Mar 26, 2014 8:40AM in JavaFX 2.0 and Later

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?

2640326

Best Answer

Answers

This discussion has been closed.