{"action":"created","issue":{"url":"https://api.github.com/repos/tolo/InterfaCSS/issues/39","labels_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/39/comments","events_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/39/events","html_url":"https://github.com/tolo/InterfaCSS/issues/39","id":98944991,"number":39,"title":"UIButton label is styled by UILabel style and cannot be overridden (apparently)","user":{"login":"TadeasKriz","id":284197,"avatar_url":"https://avatars.githubusercontent.com/u/284197?v=3","gravatar_id":"","url":"https://api.github.com/users/TadeasKriz","html_url":"https://github.com/TadeasKriz","followers_url":"https://api.github.com/users/TadeasKriz/followers","following_url":"https://api.github.com/users/TadeasKriz/following{/other_user}","gists_url":"https://api.github.com/users/TadeasKriz/gists{/gist_id}","starred_url":"https://api.github.com/users/TadeasKriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TadeasKriz/subscriptions","organizations_url":"https://api.github.com/users/TadeasKriz/orgs","repos_url":"https://api.github.com/users/TadeasKriz/repos","events_url":"https://api.github.com/users/TadeasKriz/events{/privacy}","received_events_url":"https://api.github.com/users/TadeasKriz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-04T11:16:59Z","updated_at":"2015-08-05T16:51:41Z","closed_at":null,"body":"Stylesheet:\r\n\r\n```\r\nLabel {\r\n    font: AFont 15;\r\n}\r\n\r\nUIButton {\r\n    titleLabel.font: BFont 20;\r\n}\r\n```\r\n\r\nWill yield a button with a label with font `AFont 15` instead of `BFont 20`. The order of style does not matter unfortunately. Or is this something that cannot be fixed? "},"comment":{"url":"https://api.github.com/repos/tolo/InterfaCSS/issues/comments/128068473","html_url":"https://github.com/tolo/InterfaCSS/issues/39#issuecomment-128068473","issue_url":"https://api.github.com/repos/tolo/InterfaCSS/issues/39","id":128068473,"user":{"login":"tolo","id":1228601,"avatar_url":"https://avatars.githubusercontent.com/u/1228601?v=3","gravatar_id":"","url":"https://api.github.com/users/tolo","html_url":"https://github.com/tolo","followers_url":"https://api.github.com/users/tolo/followers","following_url":"https://api.github.com/users/tolo/following{/other_user}","gists_url":"https://api.github.com/users/tolo/gists{/gist_id}","starred_url":"https://api.github.com/users/tolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolo/subscriptions","organizations_url":"https://api.github.com/users/tolo/orgs","repos_url":"https://api.github.com/users/tolo/repos","events_url":"https://api.github.com/users/tolo/events{/privacy}","received_events_url":"https://api.github.com/users/tolo/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T16:51:41Z","updated_at":"2015-08-05T16:51:41Z","body":"Yes, this is indeed a problem (with how setting properties on child objects currently works), but a problem that can be fixed. In fact, I'm working on a solution now, in the development branch for the next release, that I'm hoping will fix this. But for now, you have to work around the problem, for instance by doing something like this: \r\n\r\n```\r\nUIButton > UILabel {\r\n    font: BFont 20;\r\n}\r\n```\r\n"}}