We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
高度只取int值的情况下就能消除这条横线,但是SDAutoLayout没找到设置成int的方法,是不是我看漏了什么?
The text was updated successfully, but these errors were encountered:
我也遇到了这个问题
Sorry, something went wrong.
可在label.text赋值后 重新 修正高度
self.someLabel.numberOfLines = 0; CGSize fixSize = [self.someLabel sizeThatFits:CGSizeMake(self.size.width, CGFLOAT_MAX)]; self.someLabel.sd_resetLayout .topSpaceToView(self.shopBgView, 10) .leftSpaceToView(self.contentView, 5) .rightSpaceToView(self.contentView, 5) .heightIs(fixSize.height);
No branches or pull requests
高度只取int值的情况下就能消除这条横线,但是SDAutoLayout没找到设置成int的方法,是不是我看漏了什么?
The text was updated successfully, but these errors were encountered: