You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I 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?
The text was updated successfully, but these errors were encountered:
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.
Oh and flexDirection:column; alignItems:stretch; don't need to be added, that's the default behavior.
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.
Here’s the amended example file: http://cl.ly/1B0m0E1V3g16
I 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?The text was updated successfully, but these errors were encountered: