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

不能自己设置图片区域大小的吗 #50

Open
18300072348 opened this issue Dec 7, 2017 · 2 comments
Open

不能自己设置图片区域大小的吗 #50

18300072348 opened this issue Dec 7, 2017 · 2 comments

Comments

@18300072348
Copy link

不能自己设置图片区域大小的吗

@18300072348
Copy link
Author

 gridWidth = gridHeight = (totalWidth - gridSpacing * (columnCount - 1)) / columnCount;
            //这里无论是几张图片,宽高都按总宽度的 1/3
            gridWidth = gridHeight = (totalWidth - gridSpacing * 2) / 3;

必须要这样控制吗

@18300072348
Copy link
Author

只能通过宽度来设置

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

1 participant