Skip to content

Commit

Permalink
Merge pull request #327 from afester/richtextDemoCSS
Browse files Browse the repository at this point in the history
Fixed text background property in richtext demo
  • Loading branch information
TomasMikula committed Jun 13, 2016
2 parents 888cb3c + ae07912 commit 12dce37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public String toCss() {

if(backgroundColor.isPresent()) {
Color color = backgroundColor.get();
sb.append("-fx-background-fill: " + cssColor(color) + ";");
sb.append("-rtfx-background-color: " + cssColor(color) + ";");
}

return sb.toString();
Expand Down

0 comments on commit 12dce37

Please sign in to comment.