mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-22 03:06:10 +10:00
layout adjust
This commit is contained in:
@@ -226,7 +226,7 @@ class FriendRequestView: UIView {
|
||||
// nicknameLabel
|
||||
|
||||
let nicknameLabelTop = NSLayoutConstraint(item: nicknameLabel, attribute: .Top, relatedBy: .Equal, toItem: avatarImageView, attribute: .Top, multiplier: 1, constant: 0)
|
||||
let nicknameLabelLeft = NSLayoutConstraint(item: nicknameLabel, attribute: .Left, relatedBy: .Equal, toItem: avatarImageView, attribute: .Right, multiplier: 1, constant: 15)
|
||||
let nicknameLabelLeft = NSLayoutConstraint(item: nicknameLabel, attribute: .Left, relatedBy: .Equal, toItem: avatarImageView, attribute: .Right, multiplier: 1, constant: 8)
|
||||
|
||||
NSLayoutConstraint.activateConstraints([nicknameLabelTop, nicknameLabelLeft])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user