Added horizontal hugging priority
This commit is contained in:
parent
5502dd22f7
commit
9d1e1f4f4b
@ -39,6 +39,7 @@ import Foundation
|
||||
super.setupView()
|
||||
leftLabel.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
leftLabel.setContentHuggingPriority(.defaultHigh, for: .vertical)
|
||||
leftLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
||||
addMolecule(stack)
|
||||
stack.restack()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user