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
现存问题或期望目标 建议将 UIView+QMUIBadge.m 文件 中方法 - (CGSize)sizeThatFits:(CGSize)size {} 修改为
The text was updated successfully, but these errors were encountered:
你是说这样?这是符合预期的表现。 这种 issue 请贴截图,否则沟通成本太高,可能不予处理。
Sorry, something went wrong.
view.qmui_badgeContentEdgeInsets = UIEdgeInsets.init(top: 2, left: 4, bottom: 2, right: 4)
已发布 4.2.1 修复该问题。
No branches or pull requests
现存问题或期望目标
建议将 UIView+QMUIBadge.m 文件 中方法 - (CGSize)sizeThatFits:(CGSize)size {} 修改为
CGSize result = [super sizeThatFits:size];
if (result.width < result.height) {
result = CGSizeMake(result.height, result.height);
}
return result;
}
The text was updated successfully, but these errors were encountered: