{"action":"created","issue":{"url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/654","labels_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/654/labels{/name}","comments_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/654/comments","events_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/654/events","html_url":"https://github.com/PistonDevelopers/conrod/pull/654","id":123441810,"number":654,"title":"Add new Positionable methods with support for margining. Removal of Split in favour of moving functionality to Canvas.","user":{"login":"mitchmindtree","id":4587373,"avatar_url":"https://avatars.githubusercontent.com/u/4587373?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchmindtree","html_url":"https://github.com/mitchmindtree","followers_url":"https://api.github.com/users/mitchmindtree/followers","following_url":"https://api.github.com/users/mitchmindtree/following{/other_user}","gists_url":"https://api.github.com/users/mitchmindtree/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchmindtree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchmindtree/subscriptions","organizations_url":"https://api.github.com/users/mitchmindtree/orgs","repos_url":"https://api.github.com/users/mitchmindtree/repos","events_url":"https://api.github.com/users/mitchmindtree/events{/privacy}","received_events_url":"https://api.github.com/users/mitchmindtree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-22T08:58:06Z","updated_at":"2015-12-22T09:27:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PistonDevelopers/conrod/pulls/654","html_url":"https://github.com/PistonDevelopers/conrod/pull/654","diff_url":"https://github.com/PistonDevelopers/conrod/pull/654.diff","patch_url":"https://github.com/PistonDevelopers/conrod/pull/654.patch"},"body":"Widgets can now be offset from the edge along which they are placed using the `margin` variant of some `Positionable` methods. I.e. we now have `.mid_left_with_margin(scalar)` to match `.mid_left()` and `.padded_w_of(idx, scalar)` to match `.w_of(idx)`. This has allowed us to remove all uses of absolute coordinates from all of the examples :smile_cat:\r\n\r\nAlso renamed various `Sizeable` methods to follow the conventions of `Positionable` and updated some `Ui` methods to match.\r\n\r\nThe `Split` type (often a point of confusion due to its name) has been removed in favour of moving all of its functionality onto the `Canvas` type. This wasn't possible when `Canvas` was originally conceived as we never used to be able to instantiate widgets inside other widgets, however now that we can, `Split` is no longer necessary.\r\n\r\nCanvas split lengths can now also be set by \"weight\"s (as an alternative to giving an absolute length)."},"comment":{"url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/comments/166565303","html_url":"https://github.com/PistonDevelopers/conrod/pull/654#issuecomment-166565303","issue_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/654","id":166565303,"user":{"login":"mitchmindtree","id":4587373,"avatar_url":"https://avatars.githubusercontent.com/u/4587373?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchmindtree","html_url":"https://github.com/mitchmindtree","followers_url":"https://api.github.com/users/mitchmindtree/followers","following_url":"https://api.github.com/users/mitchmindtree/following{/other_user}","gists_url":"https://api.github.com/users/mitchmindtree/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchmindtree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchmindtree/subscriptions","organizations_url":"https://api.github.com/users/mitchmindtree/orgs","repos_url":"https://api.github.com/users/mitchmindtree/repos","events_url":"https://api.github.com/users/mitchmindtree/events{/privacy}","received_events_url":"https://api.github.com/users/mitchmindtree/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T09:27:25Z","updated_at":"2015-12-22T09:27:25Z","body":"Published as **0.27.0**."}}