Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于设置item的宽度 #27

Open
ruiboqian opened this issue Aug 18, 2017 · 2 comments
Open

关于设置item的宽度 #27

ruiboqian opened this issue Aug 18, 2017 · 2 comments
Assignees

Comments

@ruiboqian
Copy link

如图:在不同的屏幕尺寸上,item距离屏幕的间距都是24,item之间的间距都是12,超过四个item还能够左右滑动。请问我应该如何设置item的宽度?

50254538-170d-4c7a-a3ec-a0e2f13f5f60

最后希望能够建个群,方便大家交流。

@ruiboqian
Copy link
Author

我建了一个qq群,欢迎大家加入交流:378554483

@HarrisonXi
Copy link
Contributor

目前来说对于您的需求,3个元素 和 3个以上元素 的确需要放在两种不同的 Layout 里才能处理。考虑到这种情况,我们需要在 container-scroll 容器(对应类 TangramPageScrollLayout)里提供禁止滚动的属性才能满足。后续版本会考虑添加此功能,感谢您提供的 issue。

@HarrisonXi HarrisonXi self-assigned this Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants