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

多个lable 某个lable高度计算过高, #395

Open
wenchao5211 opened this issue Feb 13, 2019 · 4 comments
Open

多个lable 某个lable高度计算过高, #395

wenchao5211 opened this issue Feb 13, 2019 · 4 comments

Comments

@wenchao5211
Copy link

当cell里存在多个lable的时候,用xib从上到下布局,会出现中间的lable高度计算过高,导致整个cell高度错乱

@AppLog
Copy link

AppLog commented Apr 1, 2019

嗯,确实存在这个问题。

@liucw1993
Copy link

我是通过设置label的preferredMaxLayoutWidth参数解决的

@Tioks
Copy link

Tioks commented Apr 24, 2020

preferredMaxLayoutWidth 亲测有效

@wenchao5211
Copy link
Author

wenchao5211 commented Apr 24, 2020 via email

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