added constraint
This commit is contained in:
parent
c4c806a728
commit
ac19371652
@ -43,6 +43,7 @@ import Foundation
|
||||
open override func setupView() {
|
||||
super.setupView()
|
||||
addSubview(stack)
|
||||
planLabel.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
planLabel.setContentHuggingPriority(.defaultHigh, for: .vertical)
|
||||
planLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
||||
NSLayoutConstraint.constraintPinSubview(toSuperview: stack)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user