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
如下代码,根据label的高度设置view的高度,正确的结果是红色的view尺寸完全等于label的尺寸,但是,实际的结果是view的高度只覆盖了label的第一行。 let view = UIView() rootLayout.addSubview(view) let label = UILabel() rootLayout.addSubview(label) label.tg_left.equal(10) label.tg_width.equal(.wrap).max(100) label.tg_height.equal(.wrap) view.tg_top.equal(label.tg_top) view.tg_bottom.equal(label.tg_bottom) view.tg_left.equal(label.tg_left) view.tg_right.equal(label.tg_right) label.text = "测试12345660392034323" view.backgroundColor = UIColor.red
The text was updated successfully, but these errors were encountered:
您好,您所提的问题已经修复完成,请将版本升级到1.2.0,同时1.2.0还新增加了布局变换以及流式布局的浮动间距的功能。
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: