{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2992","repository_url":"https://api.github.com/repos/NativeScript/NativeScript","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2992/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2992/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2992/events","html_url":"https://github.com/NativeScript/NativeScript/issues/2992","id":186218457,"number":2992,"title":"background: color; does nothing","user":{"login":"aboalwi","id":17097296,"avatar_url":"https://avatars.githubusercontent.com/u/17097296?v=3","gravatar_id":"","url":"https://api.github.com/users/aboalwi","html_url":"https://github.com/aboalwi","followers_url":"https://api.github.com/users/aboalwi/followers","following_url":"https://api.github.com/users/aboalwi/following{/other_user}","gists_url":"https://api.github.com/users/aboalwi/gists{/gist_id}","starred_url":"https://api.github.com/users/aboalwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboalwi/subscriptions","organizations_url":"https://api.github.com/users/aboalwi/orgs","repos_url":"https://api.github.com/users/aboalwi/repos","events_url":"https://api.github.com/users/aboalwi/events{/privacy}","received_events_url":"https://api.github.com/users/aboalwi/received_events","type":"User","site_admin":false},"labels":[{"id":203689647,"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/T:Question","name":"T:Question","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false},"assignees":[{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-31T07:05:51Z","updated_at":"2016-10-31T07:22:25Z","closed_at":null,"body":"I know i should be using background-color and it will work but you don't know how i'm used to it this way.. it's web developer friendly ... please :)"},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/257228420","html_url":"https://github.com/NativeScript/NativeScript/issues/2992#issuecomment-257228420","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/2992","id":257228420,"user":{"login":"tsonevn","id":17448734,"avatar_url":"https://avatars.githubusercontent.com/u/17448734?v=3","gravatar_id":"","url":"https://api.github.com/users/tsonevn","html_url":"https://github.com/tsonevn","followers_url":"https://api.github.com/users/tsonevn/followers","following_url":"https://api.github.com/users/tsonevn/following{/other_user}","gists_url":"https://api.github.com/users/tsonevn/gists{/gist_id}","starred_url":"https://api.github.com/users/tsonevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsonevn/subscriptions","organizations_url":"https://api.github.com/users/tsonevn/orgs","repos_url":"https://api.github.com/users/tsonevn/repos","events_url":"https://api.github.com/users/tsonevn/events{/privacy}","received_events_url":"https://api.github.com/users/tsonevn/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T07:22:25Z","updated_at":"2016-10-31T07:22:25Z","body":"Hi @aboalwi,\r\nThank you for interest in NativeScirpt.\r\nRegaring to your issue, it would help if you could provide more info about your problem or sample project.\r\nIn NativeScript you could set `background-color` to Element using `CSS` file or just via adding the stile property in the open tag of the component in the `XML`. I am attaching examples.\r\n\r\nXML\r\n```\r\n <StackLayout backgroundColor=\"red\">\r\n</StackLayout>\r\n```\r\nCSS\r\n```\r\nStackLayout{\r\n    background-color: green;\r\n}\r\n```\r\n\r\nHope this helps."}}
{"actor":{"display_login":"tsonevn"}}