title: ListView styling in JavaFX
body: <p>I have a listview. I want to change the color of the background and the text fill. I have tried doing the following:</p>
  
  <pre><code>playlistView.setStyle("-fx-background-color: blue; -fx-text-fill: black;");
  </code></pre>
  
  <p>But, this doesn't work. However, the following is working:</p>
  
  <pre><code>playlistView.setStyle("-fx-font-size: 24px; -fx-font-family: 'SketchFlow Print';");
  </code></pre>
  
  <p>Can you please tell me how to get the background and text-fill to work? Thank you.</p>