aboutsummaryrefslogtreecommitdiff
path: root/foray/ForayNewTableViewCell.swift
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-03-19 13:36:10 +1100
committerNicholas Tay <nick@windblume.net>2022-03-19 13:36:10 +1100
commit6f2b810e8e11ba5161a539d46248aadbb0add16e (patch)
treefcebe31224b258c344b599f2b7ca749acbf32425 /foray/ForayNewTableViewCell.swift
parent01ed9d62a66f647755fd7968e354845f3efd96a8 (diff)
downloadforayios-6f2b810e8e11ba5161a539d46248aadbb0add16e.tar.gz
forayios-6f2b810e8e11ba5161a539d46248aadbb0add16e.tar.bz2
forayios-6f2b810e8e11ba5161a539d46248aadbb0add16e.zip
Adjust offsets and fix details label lines
Diffstat (limited to 'foray/ForayNewTableViewCell.swift')
-rw-r--r--foray/ForayNewTableViewCell.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/foray/ForayNewTableViewCell.swift b/foray/ForayNewTableViewCell.swift
index 659589e..26619cc 100644
--- a/foray/ForayNewTableViewCell.swift
+++ b/foray/ForayNewTableViewCell.swift
@@ -21,7 +21,7 @@ class ForayNewTableViewCell: UITableViewCell {
let descLabel: UILabel = {
let l = UILabel()
- l.font = UIFont.preferredFont(forTextStyle: .body)
+ l.font = UIFont.preferredFont(forTextStyle: .caption1)
l.adjustsFontForContentSizeCategory = true
return l
}()
@@ -62,7 +62,7 @@ class ForayNewTableViewCell: UITableViewCell {
make.trailing.equalTo(itemImageView.snp.trailing).inset(imageWidth)
}
descLabel.snp.makeConstraints { (make) in
- make.top.equalTo(nameLabel.snp.bottom).offset(8)
+ make.top.equalTo(nameLabel.snp.bottom)
make.leading.equalToSuperview()
make.bottom.equalToSuperview()
make.trailing.equalTo(itemImageView.snp.trailing).inset(imageWidth)