{"action":"created","issue":{"url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1485","repository_url":"https://api.github.com/repos/BowlerHatLLC/feathers","labels_url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1485/labels{/name}","comments_url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1485/comments","events_url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1485/events","html_url":"https://github.com/BowlerHatLLC/feathers/issues/1485","id":187691417,"number":1485,"title":"Label - maxWidth must not be NaN - AnchorLayout.percentWidth = 100","user":{"login":"teotigraphix","id":226417,"avatar_url":"https://avatars.githubusercontent.com/u/226417?v=3","gravatar_id":"","url":"https://api.github.com/users/teotigraphix","html_url":"https://github.com/teotigraphix","followers_url":"https://api.github.com/users/teotigraphix/followers","following_url":"https://api.github.com/users/teotigraphix/following{/other_user}","gists_url":"https://api.github.com/users/teotigraphix/gists{/gist_id}","starred_url":"https://api.github.com/users/teotigraphix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teotigraphix/subscriptions","organizations_url":"https://api.github.com/users/teotigraphix/orgs","repos_url":"https://api.github.com/users/teotigraphix/repos","events_url":"https://api.github.com/users/teotigraphix/events{/privacy}","received_events_url":"https://api.github.com/users/teotigraphix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-07T11:46:35Z","updated_at":"2016-11-07T17:12:33Z","closed_at":null,"body":"Updating to 3.1 I had this strange issue, in the screen shot, the AnchorLayout was barfing on percentWidth = 100 and giving me this error.\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/226417/20056726/aa2b0ae2-a4b5-11e6-9b98-23a5e6a0ec85.PNG)\r\n\r\n```\r\n        <f:LayoutGroup id=\"control\">\r\n            <f:layoutData>\r\n                <f:VerticalLayoutData percentWidth=\"100\"/>\r\n            </f:layoutData>\r\n\r\n            <f:layout>\r\n                <f:AnchorLayout/>\r\n            </f:layout>\r\n\r\n            <f:Label id=\"messageLabel\"\r\n                     wordWrap=\"true\">\r\n                <f:layoutData>\r\n                    <f:AnchorLayoutData percentWidth=\"100\"\r\n                                        bottom=\"16\"/>\r\n                </f:layoutData>\r\n            </f:Label>\r\n        </f:LayoutGroup>\r\n```\r\n\r\nWhen I changed the `messageLabel` to use `left` and `right`, the container laid out correctly. Sorry that I don't have time to give you an exact repro but I thought I would mention this."},"comment":{"url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/comments/258898145","html_url":"https://github.com/BowlerHatLLC/feathers/issues/1485#issuecomment-258898145","issue_url":"https://api.github.com/repos/BowlerHatLLC/feathers/issues/1485","id":258898145,"user":{"login":"joshtynjala","id":141885,"avatar_url":"https://avatars.githubusercontent.com/u/141885?v=3","gravatar_id":"","url":"https://api.github.com/users/joshtynjala","html_url":"https://github.com/joshtynjala","followers_url":"https://api.github.com/users/joshtynjala/followers","following_url":"https://api.github.com/users/joshtynjala/following{/other_user}","gists_url":"https://api.github.com/users/joshtynjala/gists{/gist_id}","starred_url":"https://api.github.com/users/joshtynjala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshtynjala/subscriptions","organizations_url":"https://api.github.com/users/joshtynjala/orgs","repos_url":"https://api.github.com/users/joshtynjala/repos","events_url":"https://api.github.com/users/joshtynjala/events{/privacy}","received_events_url":"https://api.github.com/users/joshtynjala/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T17:12:33Z","updated_at":"2016-11-07T17:12:33Z","body":"Thanks! I can easily reproduce:\r\n\r\n\tvar group:LayoutGroup = new LayoutGroup();\r\n\tgroup.layout = new AnchorLayout();\r\n\tvar label:Label = new Label();\r\n\tvar labelLayoutData:AnchorLayoutData = new AnchorLayoutData();\r\n\tlabelLayoutData.percentWidth = 100;\r\n\tlabel.layoutData = labelLayoutData;\r\n\tgroup.addChild(label);\r\n\tthis.addChild(group);\r\n\t\t\tthis.addChild(group);"}}
{"actor":{"display_login":"joshtynjala"}}