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
Bug 表现 QMUIButton 布局,在一定条件下titleLabel显示不全 如设置了font/设置了contentEdgeInsets
截图 QMUIButton *button = [[QMUIButton alloc] qmui_initWithImage:[UIImage qmui_imageWithColor:UIColorRed size:CGSizeMake(10, 10) cornerRadius:0] title:@"沟通顺畅"]; button.spacingBetweenImageAndTitle = 5; button.contentEdgeInsets = UIEdgeInsetsMake(0, 7.5, 0, 7.5); button.titleLabel.font = [UIFont systemFontOfSize:10]; [button sizeToFit]; [self.view addSubview:button]; 经查看 contentEdgeInsets 实际的left和right 是7.6
如何重现
预期的表现 正常情况下,应该是什么表现
其他信息
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug 表现
QMUIButton 布局,在一定条件下titleLabel显示不全
如设置了font/设置了contentEdgeInsets
截图
QMUIButton *button = [[QMUIButton alloc] qmui_initWithImage:[UIImage qmui_imageWithColor:UIColorRed size:CGSizeMake(10, 10) cornerRadius:0] title:@"沟通顺畅"];
button.spacingBetweenImageAndTitle = 5;
button.contentEdgeInsets = UIEdgeInsetsMake(0, 7.5, 0, 7.5);
button.titleLabel.font = [UIFont systemFontOfSize:10];
[button sizeToFit];
[self.view addSubview:button];
经查看 contentEdgeInsets 实际的left和right 是7.6
如何重现
预期的表现
正常情况下,应该是什么表现
其他信息
The text was updated successfully, but these errors were encountered: