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

当为网格布局时间距问题 #74

Open
lutao2599 opened this issue Jun 11, 2021 · 3 comments
Open

当为网格布局时间距问题 #74

lutao2599 opened this issue Jun 11, 2021 · 3 comments

Comments

@lutao2599
Copy link

网格布局时,在根布局加margin,间距会变大,怎么修改?

@donkingliang
Copy link
Owner

间距大小取决于margin的值,如果大了,你的值改小一点。另外item设置margin时,中间的间隔会大,因为中间的间隔是两个item的边距合在一起的。

@lutao2599
Copy link
Author

lutao2599 commented Jun 11, 2021 via email

@donkingliang
Copy link
Owner

动态计算设置左边item的做边距和右边item的右边距

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants