{"action":"created","issue":{"url":"https://api.github.com/repos/gibiansky/IHaskell/issues/575","labels_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/575/labels{/name}","comments_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/575/comments","events_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/575/events","html_url":"https://github.com/gibiansky/IHaskell/pull/575","id":106839665,"number":575,"title":"Widgets 4.0 -- Finishing touches","user":{"login":"sumitsahrawat","id":5645741,"avatar_url":"https://avatars.githubusercontent.com/u/5645741?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitsahrawat","html_url":"https://github.com/sumitsahrawat","followers_url":"https://api.github.com/users/sumitsahrawat/followers","following_url":"https://api.github.com/users/sumitsahrawat/following{/other_user}","gists_url":"https://api.github.com/users/sumitsahrawat/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitsahrawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitsahrawat/subscriptions","organizations_url":"https://api.github.com/users/sumitsahrawat/orgs","repos_url":"https://api.github.com/users/sumitsahrawat/repos","events_url":"https://api.github.com/users/sumitsahrawat/events{/privacy}","received_events_url":"https://api.github.com/users/sumitsahrawat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-16T19:01:17Z","updated_at":"2015-09-17T21:20:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gibiansky/IHaskell/pulls/575","html_url":"https://github.com/gibiansky/IHaskell/pull/575","diff_url":"https://github.com/gibiansky/IHaskell/pull/575.diff","patch_url":"https://github.com/gibiansky/IHaskell/pull/575.patch"},"body":"@gibiansky I assumed that all values being sent for `margin`, `width`, etc (which previously required being sent as strings), are pixel values. This also explains why they had to be sent as strings.\r\n\r\nWe can also extend them, to provide an API like this:\r\n\r\n```haskell\r\nsetField w Height (Em 2)\r\nsetField w Width (Px 200)\r\n```\r\n\r\nThe current one is similar in power to what we had earlier, when IPython understood that plain numbers were just `\"px\"` valules. Do you think that a change is worth the trouble?\r\n\r\nI also updated the example notebooks, but the `PlaceProxy` widget didn't work as I expected, so will fix it and then add an example."},"comment":{"url":"https://api.github.com/repos/gibiansky/IHaskell/issues/comments/141231381","html_url":"https://github.com/gibiansky/IHaskell/pull/575#issuecomment-141231381","issue_url":"https://api.github.com/repos/gibiansky/IHaskell/issues/575","id":141231381,"user":{"login":"jasongrout","id":192614,"avatar_url":"https://avatars.githubusercontent.com/u/192614?v=3","gravatar_id":"","url":"https://api.github.com/users/jasongrout","html_url":"https://github.com/jasongrout","followers_url":"https://api.github.com/users/jasongrout/followers","following_url":"https://api.github.com/users/jasongrout/following{/other_user}","gists_url":"https://api.github.com/users/jasongrout/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongrout/subscriptions","organizations_url":"https://api.github.com/users/jasongrout/orgs","repos_url":"https://api.github.com/users/jasongrout/repos","events_url":"https://api.github.com/users/jasongrout/events{/privacy}","received_events_url":"https://api.github.com/users/jasongrout/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T21:20:56Z","updated_at":"2015-09-17T21:20:56Z","body":"What errors?"}}