{"action":"created","issue":{"url":"https://api.github.com/repos/griffon/griffon/issues/156","repository_url":"https://api.github.com/repos/griffon/griffon","labels_url":"https://api.github.com/repos/griffon/griffon/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/griffon/griffon/issues/156/comments","events_url":"https://api.github.com/repos/griffon/griffon/issues/156/events","html_url":"https://github.com/griffon/griffon/issues/156","id":154475604,"number":156,"title":"CompositeBuilder ignores the disabled flag (javafx toolkit)","user":{"login":"stenis999","id":5689400,"avatar_url":"https://avatars.githubusercontent.com/u/5689400?v=3","gravatar_id":"","url":"https://api.github.com/users/stenis999","html_url":"https://github.com/stenis999","followers_url":"https://api.github.com/users/stenis999/followers","following_url":"https://api.github.com/users/stenis999/following{/other_user}","gists_url":"https://api.github.com/users/stenis999/gists{/gist_id}","starred_url":"https://api.github.com/users/stenis999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenis999/subscriptions","organizations_url":"https://api.github.com/users/stenis999/orgs","repos_url":"https://api.github.com/users/stenis999/repos","events_url":"https://api.github.com/users/stenis999/events{/privacy}","received_events_url":"https://api.github.com/users/stenis999/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/griffon/griffon/labels/Not%20A%20Bug","name":"Not A Bug","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/griffon/griffon/milestones/7","html_url":"https://github.com/griffon/griffon/milestones/2.7.0","labels_url":"https://api.github.com/repos/griffon/griffon/milestones/7/labels","id":1594626,"number":7,"title":"2.7.0","description":"","creator":{"login":"aalmiray","id":13969,"avatar_url":"https://avatars.githubusercontent.com/u/13969?v=3","gravatar_id":"","url":"https://api.github.com/users/aalmiray","html_url":"https://github.com/aalmiray","followers_url":"https://api.github.com/users/aalmiray/followers","following_url":"https://api.github.com/users/aalmiray/following{/other_user}","gists_url":"https://api.github.com/users/aalmiray/gists{/gist_id}","starred_url":"https://api.github.com/users/aalmiray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalmiray/subscriptions","organizations_url":"https://api.github.com/users/aalmiray/orgs","repos_url":"https://api.github.com/users/aalmiray/repos","events_url":"https://api.github.com/users/aalmiray/events{/privacy}","received_events_url":"https://api.github.com/users/aalmiray/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2016-02-20T10:04:23Z","updated_at":"2016-06-01T20:33:47Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-05-12T12:56:21Z","updated_at":"2016-06-03T07:56:26Z","closed_at":null,"body":"Using: Griffon 2.6.0 with javafx toolkit.\r\n\r\nThis is just a minor issue with a simple workaround.\r\n\r\nIt looks like the CompositeBuilder ignores the 'disabled' flag (at least for textfields - I have not tested any other type of nodes).\r\n\r\nSample initUI method for the view:\r\n\r\n    void initUI() {\r\n        builder.application(title: 'Just a test', sizeToScene: true, centerOnScreen: true) {\r\n            scene {\r\n                vbox(padding: 5) {\r\n                    textField(id: 'myTextField', text: 'I should be disabled', disabled: true)\r\n                }\r\n            }\r\n        }\r\n        // This line has to be uncommented for the field to be disabled initially\r\n        //builder.myTextField.disabled = true\r\n    }\r\n\r\nIf the last line is uncommented, it works fine. \r\n\r\nI also noted that if the \"vbox\" is removed (i.e. the textField is the only node in the scene), then the field is actually disabled. When it is inside a vbox, it is not."},"comment":{"url":"https://api.github.com/repos/griffon/griffon/issues/comments/223514965","html_url":"https://github.com/griffon/griffon/issues/156#issuecomment-223514965","issue_url":"https://api.github.com/repos/griffon/griffon/issues/156","id":223514965,"user":{"login":"stenis999","id":5689400,"avatar_url":"https://avatars.githubusercontent.com/u/5689400?v=3","gravatar_id":"","url":"https://api.github.com/users/stenis999","html_url":"https://github.com/stenis999","followers_url":"https://api.github.com/users/stenis999/followers","following_url":"https://api.github.com/users/stenis999/following{/other_user}","gists_url":"https://api.github.com/users/stenis999/gists{/gist_id}","starred_url":"https://api.github.com/users/stenis999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenis999/subscriptions","organizations_url":"https://api.github.com/users/stenis999/orgs","repos_url":"https://api.github.com/users/stenis999/repos","events_url":"https://api.github.com/users/stenis999/events{/privacy}","received_events_url":"https://api.github.com/users/stenis999/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T07:56:26Z","updated_at":"2016-06-03T07:56:26Z","body":"Ah... nice catch. Changing to \"disable\" works fine."}}
{"actor":{"display_login":"stenis999"}}