Tangram-iOS icon indicating copy to clipboard operation
Tangram-iOS copied to clipboard

瀑布流布局有一些问题,查不出原因。

Open DuRofei opened this issue 7 years ago • 8 comments

image

DuRofei avatar Jul 09 '18 08:07 DuRofei

官方 demo 也是这样的

DuRofei avatar Jul 09 '18 08:07 DuRofei

问题在哪。。

originme avatar Aug 01 '18 09:08 originme

超过三个视图,整个瀑布流就开始重叠了

DuRofei avatar Aug 01 '18 10:08 DuRofei

好吧,我也发现了

originme avatar Aug 01 '18 13:08 originme

margin影响了布局,ItemModel的margin全部设置为0,使用vGap,hGap,padding去设置间隔就正常了

GustinLau avatar Aug 16 '18 07:08 GustinLau

我自己写了一个Tangram:https://github.com/ZZinKin/TextureTangram 感兴趣可以看看 :)

Gustin Lau [email protected] 于2018年8月16日周四 下午3:36写道:

margin影响了布局,ItemModel的margin全部设置为0,使用vGap,hGap,padding去设置间隔就正常了

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alibaba/Tangram-iOS/issues/81#issuecomment-413454182, or mute the thread https://github.com/notifications/unsubscribe-auth/ActPRAiAe7Caxjc5Nt0aOO0NS109balTks5uRSD8gaJpZM4VHTrg .

originme avatar Aug 16 '18 16:08 originme

就这还拿出来开源

alcalcalc avatar Apr 01 '19 02:04 alcalcalc

请问ios的能直接动态加载二进制模板数据吗?必须得吧二进制数据放入到.out文件再加载才行吗

githubzjh avatar Oct 06 '19 12:10 githubzjh