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

文字类型内容长的话,展示不全,是否可以考虑自定义label加宽? #44

Closed
yuanzhiying opened this issue Jun 26, 2018 · 1 comment

Comments

@yuanzhiying
Copy link

如果为BRStringPickerComponentSingle,可以考虑下加宽自定义label,不然文字展示不太全。

@yuanzhiying
Copy link
Author

if (self.type == BRStringPickerComponentSingle) {
label.text = self.dataSourceArr[row];
label.frame = CGRectMake(0, 0, self.alertView.frame.size.width, 35.0f * kScaleFit);
} else if (self.type == BRStringPickerComponentMore) {
label.text = self.dataSourceArr[component][row];
}

@agiapp agiapp closed this as completed May 29, 2024
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