{"action":"created","issue":{"url":"https://api.github.com/repos/JFXtras/jfxtras/issues/22","labels_url":"https://api.github.com/repos/JFXtras/jfxtras/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/JFXtras/jfxtras/issues/22/comments","events_url":"https://api.github.com/repos/JFXtras/jfxtras/issues/22/events","html_url":"https://github.com/JFXtras/jfxtras/issues/22","id":65191377,"number":22,"title":"setTitleBarStyleClass does not work for me","user":{"login":"dwaddell","id":468953,"avatar_url":"https://avatars.githubusercontent.com/u/468953?v=3","gravatar_id":"","url":"https://api.github.com/users/dwaddell","html_url":"https://github.com/dwaddell","followers_url":"https://api.github.com/users/dwaddell/followers","following_url":"https://api.github.com/users/dwaddell/following{/other_user}","gists_url":"https://api.github.com/users/dwaddell/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaddell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaddell/subscriptions","organizations_url":"https://api.github.com/users/dwaddell/orgs","repos_url":"https://api.github.com/users/dwaddell/repos","events_url":"https://api.github.com/users/dwaddell/events{/privacy}","received_events_url":"https://api.github.com/users/dwaddell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T11:34:58Z","updated_at":"2015-04-01T21:32:15Z","closed_at":null,"body":"When using setTitleBarStyleClass to \"custom-window-titlebar\" I will get \"custom-window-titlebar\" returned through getTitleBarStyleClass however the values I set in the class \"custom-window-titlebar\" are not being applied.  There is a real possibility that I am doing something incorrectly however I am having trouble finding examples using this online.\r\n\r\nWindow wTest = new Window(\"Insert title here!\");\r\nwTest.setTitleBarStyleClass(\"custom-window-titlebar\");\r\napAnchor.getChildren().add(wTest );\r\n\r\n/* Trying to make things different, red */\r\n.custom-window-titlebar {\r\n    -fx-glass-color: rgba(255, 0, 0, 0.4);\r\n    -fx-alignment: center;\r\n    -fx-background-color: linear-gradient(to bottom, derive(-fx-glass-color, 30%), -fx-glass-color);\r\n    -fx-border-color: derive(-fx-glass-color, -60%);\r\n    -fx-border-width: 2;\r\n    -fx-background-insets: 1;\r\n    -fx-border-radius: 3;\r\n    -fx-background-radius: 3;\r\n    -fx-stroke: rgba(255,0,0,50);\r\n    -fx-fill: rgba(255,0,0,50);\r\n    }\r\n\r\nThanks,\r\nDrew\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JFXtras/jfxtras/issues/comments/88636971","html_url":"https://github.com/JFXtras/jfxtras/issues/22#issuecomment-88636971","issue_url":"https://api.github.com/repos/JFXtras/jfxtras/issues/22","id":88636971,"user":{"login":"miho","id":225266,"avatar_url":"https://avatars.githubusercontent.com/u/225266?v=3","gravatar_id":"","url":"https://api.github.com/users/miho","html_url":"https://github.com/miho","followers_url":"https://api.github.com/users/miho/followers","following_url":"https://api.github.com/users/miho/following{/other_user}","gists_url":"https://api.github.com/users/miho/gists{/gist_id}","starred_url":"https://api.github.com/users/miho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miho/subscriptions","organizations_url":"https://api.github.com/users/miho/orgs","repos_url":"https://api.github.com/users/miho/repos","events_url":"https://api.github.com/users/miho/events{/privacy}","received_events_url":"https://api.github.com/users/miho/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T21:32:15Z","updated_at":"2015-04-01T21:32:15Z","body":"Which version do you use? Are you sure that you apply the CSS file?"}}