{"action":"opened","issue":{"url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1735","repository_url":"https://api.github.com/repos/BowlerHatLLC/feathers","labels_url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1735/labels{/name}","comments_url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1735/comments","events_url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1735/events","html_url":"https://github.com/BowlerHatLLC/feathers/issues/1735","id":330541627,"node_id":"MDU6SXNzdWUzMzA1NDE2Mjc=","number":1735,"title":"Convience methods for AnchorLayoutData","user":{"login":"kevinfoley","id":7231744,"node_id":"MDQ6VXNlcjcyMzE3NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7231744?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinfoley","html_url":"https://github.com/kevinfoley","followers_url":"https://api.github.com/users/kevinfoley/followers","following_url":"https://api.github.com/users/kevinfoley/following{/other_user}","gists_url":"https://api.github.com/users/kevinfoley/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinfoley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinfoley/subscriptions","organizations_url":"https://api.github.com/users/kevinfoley/orgs","repos_url":"https://api.github.com/users/kevinfoley/repos","events_url":"https://api.github.com/users/kevinfoley/events{/privacy}","received_events_url":"https://api.github.com/users/kevinfoley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-08T06:59:53Z","updated_at":"2018-06-08T06:59:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Right now, when using an anchor layout, we can anchor one object to another like this:\r\n\r\n    var ald:AnchorLayoutData = new AnchorLayoutData();\r\n    ald.bottom = 5;\r\n    ald.bottomAnchorDisplayObject = someGraphic;\r\n\r\nThis is a bit clumsy, particularly because the property names (e.g. `bottomAnchorDisplayObject`) are so long.\r\n\r\nIt would be great to have a convenience method that combined the distance and display object properties into a single function with a shorter name, something like:\r\n\r\n    public function anchorBottomTo(target:DisplayObject, distance:Number):void\r\n\r\nWhich we would call like this:\r\n\r\n    ald.anchorBottomTo(someGraphic, 5);\r\n"}}
{"actor":{"display_login":"kevinfoley"}}