We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589ce1e commit 754d5caCopy full SHA for 754d5ca
1 file changed
Demo/Demo/Details/CheckingViewController.swift
@@ -39,7 +39,7 @@ class CheckingViewController: ViewController<CheckingView> {
39
40
// 目前的问题是, 如果内容显示全 是OK的, 如果显示不全 就会有问题, 比如numberOfLines = x 或者 height较小.
41
42
- let label = UILabel(frame: .init(x: 15, y: 80, width: 414 - 30, height: 750))
+ let label = UILabel(frame: .init(x: 12, y: 80, width: 414 - 24, height: 750))
43
label.backgroundColor = .white
44
view.addSubview(label)
45
label.attributed.observe(.regex("a")) { (result) in
0 commit comments