{"action":"created","issue":{"url":"https://api.github.com/repos/hrescak/Sketch-Flex-Layout/issues/7","labels_url":"https://api.github.com/repos/hrescak/Sketch-Flex-Layout/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/hrescak/Sketch-Flex-Layout/issues/7/comments","events_url":"https://api.github.com/repos/hrescak/Sketch-Flex-Layout/issues/7/events","html_url":"https://github.com/hrescak/Sketch-Flex-Layout/issues/7","id":93730944,"number":7,"title":"alignItems:stretch not available?","user":{"login":"josefrichter","id":134302,"avatar_url":"https://avatars.githubusercontent.com/u/134302?v=3","gravatar_id":"","url":"https://api.github.com/users/josefrichter","html_url":"https://github.com/josefrichter","followers_url":"https://api.github.com/users/josefrichter/followers","following_url":"https://api.github.com/users/josefrichter/following{/other_user}","gists_url":"https://api.github.com/users/josefrichter/gists{/gist_id}","starred_url":"https://api.github.com/users/josefrichter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josefrichter/subscriptions","organizations_url":"https://api.github.com/users/josefrichter/orgs","repos_url":"https://api.github.com/users/josefrichter/repos","events_url":"https://api.github.com/users/josefrichter/events{/privacy}","received_events_url":"https://api.github.com/users/josefrichter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T08:26:34Z","updated_at":"2015-07-08T17:21:15Z","closed_at":null,"body":"Tried to make a \"responsive\" layout, which kinda works when done this way: Duplicated the group prototype and set its width to e.g. 640 (iPhone 5). Created object from the new prototype and moved original group content into the new one. Now any change in Cell and Section header prototypes will be reflected on both iPhone 6 and iPhone 5 artboards. Pretty cool.\r\n\r\nHere’s the amended example file: http://cl.ly/1B0m0E1V3g16\r\n\r\nI also tried applying `flexDirection:column; alignItems:stretch;` on the original group prototype, which should eliminate the need of separate group prototypes, but for some reason it doesn’t do anything. – Any ideas why?"},"comment":{"url":"https://api.github.com/repos/hrescak/Sketch-Flex-Layout/issues/comments/119669390","html_url":"https://github.com/hrescak/Sketch-Flex-Layout/issues/7#issuecomment-119669390","issue_url":"https://api.github.com/repos/hrescak/Sketch-Flex-Layout/issues/7","id":119669390,"user":{"login":"hrescak","id":753458,"avatar_url":"https://avatars.githubusercontent.com/u/753458?v=3","gravatar_id":"","url":"https://api.github.com/users/hrescak","html_url":"https://github.com/hrescak","followers_url":"https://api.github.com/users/hrescak/followers","following_url":"https://api.github.com/users/hrescak/following{/other_user}","gists_url":"https://api.github.com/users/hrescak/gists{/gist_id}","starred_url":"https://api.github.com/users/hrescak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrescak/subscriptions","organizations_url":"https://api.github.com/users/hrescak/orgs","repos_url":"https://api.github.com/users/hrescak/repos","events_url":"https://api.github.com/users/hrescak/events{/privacy}","received_events_url":"https://api.github.com/users/hrescak/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T17:21:15Z","updated_at":"2015-07-08T17:21:15Z","body":"The problem is that the .group instances have no way of knowing what width they should stretch to, as group width is defined by the width of it's children, with the exception of artboards. I'll keep this open though, I'm thinking about ways to make it better.\r\n\r\nOh and `flexDirection:column; alignItems:stretch;` don't need to be added, that's the default behavior."}}