{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/componentkit/issues/673","repository_url":"https://api.github.com/repos/facebook/componentkit","labels_url":"https://api.github.com/repos/facebook/componentkit/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/facebook/componentkit/issues/673/comments","events_url":"https://api.github.com/repos/facebook/componentkit/issues/673/events","html_url":"https://github.com/facebook/componentkit/issues/673","id":186828050,"number":673,"title":"Question - Insetting a CKTextComponent text","user":{"login":"avnerbarr","id":2404795,"avatar_url":"https://avatars.githubusercontent.com/u/2404795?v=3","gravatar_id":"","url":"https://api.github.com/users/avnerbarr","html_url":"https://github.com/avnerbarr","followers_url":"https://api.github.com/users/avnerbarr/followers","following_url":"https://api.github.com/users/avnerbarr/following{/other_user}","gists_url":"https://api.github.com/users/avnerbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/avnerbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avnerbarr/subscriptions","organizations_url":"https://api.github.com/users/avnerbarr/orgs","repos_url":"https://api.github.com/users/avnerbarr/repos","events_url":"https://api.github.com/users/avnerbarr/events{/privacy}","received_events_url":"https://api.github.com/users/avnerbarr/received_events","type":"User","site_admin":false},"labels":[{"id":189962170,"url":"https://api.github.com/repos/facebook/componentkit/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-02T15:09:27Z","updated_at":"2016-11-03T15:12:05Z","closed_at":null,"body":"Is there a way to add content insets to a `CKTextComponent` (Without wrapping it with an inset component)?\r\n\r\nI'm doing something similar to a `CKButtonComponent` by setting contentEdgeInsets in the attributes section of the button:\r\n```\r\nattributes: { \r\n...\r\n{@selector(setContentEdgeInsets:),[NSValue valueWithUIEdgeInsets:configuration.viewPadding]},\r\n...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/componentkit/issues/comments/258171275","html_url":"https://github.com/facebook/componentkit/issues/673#issuecomment-258171275","issue_url":"https://api.github.com/repos/facebook/componentkit/issues/673","id":258171275,"user":{"login":"avnerbarr","id":2404795,"avatar_url":"https://avatars.githubusercontent.com/u/2404795?v=3","gravatar_id":"","url":"https://api.github.com/users/avnerbarr","html_url":"https://github.com/avnerbarr","followers_url":"https://api.github.com/users/avnerbarr/followers","following_url":"https://api.github.com/users/avnerbarr/following{/other_user}","gists_url":"https://api.github.com/users/avnerbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/avnerbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avnerbarr/subscriptions","organizations_url":"https://api.github.com/users/avnerbarr/orgs","repos_url":"https://api.github.com/users/avnerbarr/repos","events_url":"https://api.github.com/users/avnerbarr/events{/privacy}","received_events_url":"https://api.github.com/users/avnerbarr/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T15:12:05Z","updated_at":"2016-11-03T15:12:05Z","body":"Because I want to set background colors , border colors etc on the view and wouldn't be convenient to do on the inset component. \n\n\n> On Nov 2, 2016, at 9:16 PM, Eric Czarny <notifications@github.com> wrote:\n> \n> /cc @ocrickard who knows a lot more about CKTextComponent than I do.\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"avnerbarr"}}