{"action":"created","issue":{"url":"https://api.github.com/repos/TomasMikula/RichTextFX/issues/295","repository_url":"https://api.github.com/repos/TomasMikula/RichTextFX","labels_url":"https://api.github.com/repos/TomasMikula/RichTextFX/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/TomasMikula/RichTextFX/issues/295/comments","events_url":"https://api.github.com/repos/TomasMikula/RichTextFX/issues/295/events","html_url":"https://github.com/TomasMikula/RichTextFX/issues/295","id":150571934,"number":295,"title":"Background on a text","user":{"login":"WinXaito","id":8223773,"avatar_url":"https://avatars.githubusercontent.com/u/8223773?v=3","gravatar_id":"","url":"https://api.github.com/users/WinXaito","html_url":"https://github.com/WinXaito","followers_url":"https://api.github.com/users/WinXaito/followers","following_url":"https://api.github.com/users/WinXaito/following{/other_user}","gists_url":"https://api.github.com/users/WinXaito/gists{/gist_id}","starred_url":"https://api.github.com/users/WinXaito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WinXaito/subscriptions","organizations_url":"https://api.github.com/users/WinXaito/orgs","repos_url":"https://api.github.com/users/WinXaito/repos","events_url":"https://api.github.com/users/WinXaito/events{/privacy}","received_events_url":"https://api.github.com/users/WinXaito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-23T16:28:59Z","updated_at":"2016-04-23T17:08:55Z","closed_at":null,"body":"Hello,\r\n\r\nI managed to shed fat and add a color on a piece of text in my `StyleClassedTextArea`, but I would love to put a `background`, but it does not work. Is it possible to do this?\r\n\r\nThank you !"},"comment":{"url":"https://api.github.com/repos/TomasMikula/RichTextFX/issues/comments/213788511","html_url":"https://github.com/TomasMikula/RichTextFX/issues/295#issuecomment-213788511","issue_url":"https://api.github.com/repos/TomasMikula/RichTextFX/issues/295","id":213788511,"user":{"login":"TomasMikula","id":433439,"avatar_url":"https://avatars.githubusercontent.com/u/433439?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasMikula","html_url":"https://github.com/TomasMikula","followers_url":"https://api.github.com/users/TomasMikula/followers","following_url":"https://api.github.com/users/TomasMikula/following{/other_user}","gists_url":"https://api.github.com/users/TomasMikula/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasMikula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasMikula/subscriptions","organizations_url":"https://api.github.com/users/TomasMikula/orgs","repos_url":"https://api.github.com/users/TomasMikula/repos","events_url":"https://api.github.com/users/TomasMikula/events{/privacy}","received_events_url":"https://api.github.com/users/TomasMikula/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T17:08:55Z","updated_at":"2016-04-23T17:08:55Z","body":"Yes, it is possible:\r\n\r\n```css\r\n.foo {\r\n    -fx-background-fill: #efefef;\r\n}\r\n```\r\n\r\nIt is named `-fx-background-fill` instead of `-fx-background-color` because of this bug: [JDK-8133685](https://bugs.openjdk.java.net/browse/JDK-8133685)."}}