diff options
author | Nicholas Tay <nick@windblume.net> | 2022-03-19 13:36:10 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-03-19 13:36:10 +1100 |
commit | 6f2b810e8e11ba5161a539d46248aadbb0add16e (patch) | |
tree | fcebe31224b258c344b599f2b7ca749acbf32425 /foray/ForayNewDetailView.swift | |
parent | 01ed9d62a66f647755fd7968e354845f3efd96a8 (diff) | |
download | forayios-6f2b810e8e11ba5161a539d46248aadbb0add16e.tar.gz forayios-6f2b810e8e11ba5161a539d46248aadbb0add16e.tar.bz2 forayios-6f2b810e8e11ba5161a539d46248aadbb0add16e.zip |
Adjust offsets and fix details label lines
Diffstat (limited to '')
-rw-r--r-- | foray/ForayNewDetailView.swift | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/foray/ForayNewDetailView.swift b/foray/ForayNewDetailView.swift index e7d7dbf..e8e2262 100644 --- a/foray/ForayNewDetailView.swift +++ b/foray/ForayNewDetailView.swift @@ -28,6 +28,7 @@ class ForayNewDetailView: UIView { let l = UILabel() l.font = UIFont.preferredFont(forTextStyle: .body) l.adjustsFontForContentSizeCategory = true + l.numberOfLines = 10 return l }() @@ -53,12 +54,12 @@ class ForayNewDetailView: UIView { make.leading.trailing.equalToSuperview().inset(8) } itemImageView.snp.makeConstraints { (make) in - make.top.equalTo(nameLabel.snp.bottom).offset(8) + make.top.equalTo(nameLabel.snp.bottom).offset(32) make.leading.trailing.equalToSuperview() make.height.equalTo(150) } descLabel.snp.makeConstraints { (make) in - make.top.equalTo(itemImageView.snp.bottom).offset(8) + make.top.equalTo(itemImageView.snp.bottom).offset(32) make.leading.trailing.equalToSuperview() } } |