Skip to content

Commit

Permalink
[Feat] CDS-Mobile1#27 - DMListTableViewCell 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
joonBaek12 committed May 26, 2023
1 parent 29c629d commit 578ca0d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class DMTableviewCell: BaseTableViewCell {

private let textMessageLabel: UILabel = {
let label = UILabel()
label.text = "hanyee"
label.text = "디엠디엠디엠"
label.font = .detail2kor
label.textColor = .gray2
return label
Expand All @@ -51,6 +51,7 @@ final class DMTableviewCell: BaseTableViewCell {
userProfileView.snp.makeConstraints {
$0.centerY.equalToSuperview()
$0.leading.equalToSuperview().offset(14)
$0.width.height.equalTo(58)
}

addSubview(usernameLabel)
Expand All @@ -61,7 +62,7 @@ final class DMTableviewCell: BaseTableViewCell {

addSubview(textMessageLabel)
textMessageLabel.snp.makeConstraints {
$0.top.equalTo(usernameLabel).offset(2)
$0.top.equalTo(usernameLabel.snp.bottom).offset(2)
$0.leading.equalTo(usernameLabel)
}

Expand Down

0 comments on commit 578ca0d

Please sign in to comment.