格式化页面文本框添加系统分隔线边框
This commit is contained in:
@@ -36,6 +36,8 @@ class FormatLogViewController: UIViewController {
|
||||
textView.font = UIFont.systemFont(ofSize: 16)
|
||||
textView.backgroundColor = .systemBackground
|
||||
textView.layer.cornerRadius = 12
|
||||
textView.layer.borderWidth = 0.5
|
||||
textView.layer.borderColor = UIColor.separator.cgColor
|
||||
textView.textContainerInset = UIEdgeInsets(top: 12, left: 12, bottom: 12, right: 12)
|
||||
textView.delegate = self
|
||||
view.addSubview(textView)
|
||||
|
||||
Reference in New Issue
Block a user