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

有谁能修改下让每行可以居中显示 #46

Open
salmanit opened this issue Jul 20, 2017 · 4 comments
Open

有谁能修改下让每行可以居中显示 #46

salmanit opened this issue Jul 20, 2017 · 4 comments

Comments

@salmanit
Copy link

自动换行,每行限制个数都不错,唯一不足的就是每行的内容不可以设置居中显示。貌似都只能居左或者用rtl居右,都不是我们想要的,求高手修改,看作者貌似不维护这个了。

@KobeBryant824
Copy link

你可以直接用FlexboxLayout->FlexboxLayoutMananer官方的流式布局

@salmanit
Copy link
Author

@KobeBryant824 流式布局不是我们需要的,我们的ui需求是每行最多3个,完事居中。。流式的不能限制每行几个吧,他不是那种能显示几个就显示几个的吗

@cgpllx
Copy link

cgpllx commented Nov 23, 2017

流式的可以限制每行几个的

@tpnet
Copy link

tpnet commented May 15, 2018

@salmanit setRowStrategy(ChipsLayoutManager.STRATEGY_CENTER)

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

4 participants