{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/356","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/356/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/356/events","html_url":"https://github.com/NativeScript/NativeScript/issues/356","id":90779852,"number":356,"title":"ImageButton widget","user":{"login":"cime","id":115601,"avatar_url":"https://avatars.githubusercontent.com/u/115601?v=3","gravatar_id":"","url":"https://api.github.com/users/cime","html_url":"https://github.com/cime","followers_url":"https://api.github.com/users/cime/followers","following_url":"https://api.github.com/users/cime/following{/other_user}","gists_url":"https://api.github.com/users/cime/gists{/gist_id}","starred_url":"https://api.github.com/users/cime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cime/subscriptions","organizations_url":"https://api.github.com/users/cime/orgs","repos_url":"https://api.github.com/users/cime/repos","events_url":"https://api.github.com/users/cime/events{/privacy}","received_events_url":"https://api.github.com/users/cime/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/S:High","name":"S:High","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NativeScript/NativeScript/milestones/4","html_url":"https://github.com/NativeScript/NativeScript/milestones/1.3.0","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/milestones/4/labels","id":1117828,"number":4,"title":"1.3.0","description":"","creator":{"login":"valentinstoychev","id":4980822,"avatar_url":"https://avatars.githubusercontent.com/u/4980822?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinstoychev","html_url":"https://github.com/valentinstoychev","followers_url":"https://api.github.com/users/valentinstoychev/followers","following_url":"https://api.github.com/users/valentinstoychev/following{/other_user}","gists_url":"https://api.github.com/users/valentinstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinstoychev/subscriptions","organizations_url":"https://api.github.com/users/valentinstoychev/orgs","repos_url":"https://api.github.com/users/valentinstoychev/repos","events_url":"https://api.github.com/users/valentinstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/valentinstoychev/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":21,"state":"open","created_at":"2015-05-19T10:10:59Z","updated_at":"2015-08-14T07:30:02Z","due_on":"2015-09-08T21:00:00Z","closed_at":null},"comments":3,"created_at":"2015-06-24T21:04:06Z","updated_at":"2015-08-15T19:21:34Z","closed_at":null,"body":"Please add ImageButton control\r\n\r\nAndroid: http://developer.android.com/reference/android/widget/ImageButton.html\r\niOS: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIButton_Class/#//apple_ref/occ/instm/UIButton/setBackgroundImage:forState:\r\n\r\nIf possible it would be nice to have image+text button, where you can place text + image on the left/right/bottom/top."},"comment":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/comments/131429171","html_url":"https://github.com/NativeScript/NativeScript/issues/356#issuecomment-131429171","issue_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/356","id":131429171,"user":{"login":"cime","id":115601,"avatar_url":"https://avatars.githubusercontent.com/u/115601?v=3","gravatar_id":"","url":"https://api.github.com/users/cime","html_url":"https://github.com/cime","followers_url":"https://api.github.com/users/cime/followers","following_url":"https://api.github.com/users/cime/following{/other_user}","gists_url":"https://api.github.com/users/cime/gists{/gist_id}","starred_url":"https://api.github.com/users/cime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cime/subscriptions","organizations_url":"https://api.github.com/users/cime/orgs","repos_url":"https://api.github.com/users/cime/repos","events_url":"https://api.github.com/users/cime/events{/privacy}","received_events_url":"https://api.github.com/users/cime/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T19:21:34Z","updated_at":"2015-08-15T19:21:34Z","body":"I'm fine with background-image support.\r\nBut it would be nice if button widget supported custom content instead of just text.\r\nSomething like:\r\n\r\n    <Button>\r\n       <StackLayout>\r\n           <Image ... />\r\n           <Label ... />\r\n           <SomeThing.... />\r\n       </StackLayout>\r\n    </Button>"}}