From 6f2b810e8e11ba5161a539d46248aadbb0add16e Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Sat, 19 Mar 2022 13:36:10 +1100 Subject: Adjust offsets and fix details label lines --- foray/ForayNewTableViewCell.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'foray/ForayNewTableViewCell.swift') 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) -- cgit