Removed line spaces
This commit is contained in:
parent
5135835471
commit
b8e0fbff75
@ -96,12 +96,10 @@ extension Link: MVMCoreViewProtocol {
|
|||||||
self.contentHorizontalAlignment = .left
|
self.contentHorizontalAlignment = .left
|
||||||
|
|
||||||
if let constant = self.sizeObject?.standardSize {
|
if let constant = self.sizeObject?.standardSize {
|
||||||
|
|
||||||
let heightConstraint = NSLayoutConstraint(item: self as Any, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: constant)
|
let heightConstraint = NSLayoutConstraint(item: self as Any, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: constant)
|
||||||
self.addConstraint(heightConstraint)
|
self.addConstraint(heightConstraint)
|
||||||
heightConstraint.isActive = true
|
heightConstraint.isActive = true
|
||||||
self.heightConstraint = heightConstraint
|
self.heightConstraint = heightConstraint
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user