Skip to content

Commit

Permalink
๐Ÿ› ๏ธ :: CompanyDetailLabel Layout ๋‹ค์‹œ์žก๊ธฐ
Browse files Browse the repository at this point in the history
  • Loading branch information
ray3238 committed Apr 4, 2024
1 parent 71190d2 commit 442abdd
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ public final class CompanyDetailLabel: BaseView {

public override func setLayout() {
title.snp.makeConstraints {
$0.top.left.equalToSuperview()
$0.top.equalToSuperview()
$0.leading.equalToSuperview().inset(24)
$0.width.equalTo(64)
}
content.snp.makeConstraints {
$0.top.bottom.equalToSuperview()
$0.left.equalTo(title.snp.right).offset(8)
$0.right.equalToSuperview()
$0.top.equalToSuperview()
$0.leading.equalTo(title.snp.trailing).offset(8)
$0.trailing.equalToSuperview().inset(24)
$0.bottom.equalToSuperview().inset(16)
}
}
}

0 comments on commit 442abdd

Please sign in to comment.