Commit f3a12b5e authored by Alex朱枝文's avatar Alex朱枝文

续签文书管理优化提示边框线调整

parent 3a452188
......@@ -25,7 +25,6 @@ class YHResignDocumentMultiLineTipsCell: YHResignDocumentCell {
private lazy var bgView: UIImageView = {
let view = UIImageView()
view.image = UIImage(named: "document_prompt_bg_small")
view.contentMode = .scaleAspectFill
return view
}()
......
......@@ -15,7 +15,6 @@ class YHResignDocumentTipsCell: YHResignDocumentCell {
private lazy var bgView: UIImageView = {
let view = UIImageView()
view.image = UIImage(named: "document_prompt_bg_small")
view.contentMode = .scaleAspectFill
return view
}()
......@@ -73,7 +72,9 @@ extension YHResignDocumentTipsCell {
subContainerView.addSubview(infoDetailLabel)
subContainerView.sendSubviewToBack(bgView)
bgView.setContentCompressionResistancePriority(.defaultLow, for: .vertical)
bgView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
bgView.setContentHuggingPriority(.defaultLow, for: .vertical)
bgView.setContentHuggingPriority(.defaultLow, for: .horizontal)
bgView.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment