updated constraint
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
a7d777a97d
commit
c02ba88a76
@ -214,14 +214,12 @@ open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable {
|
||||
heightConstraint?.priority = .defaultHigh
|
||||
heightConstraint?.isActive = true
|
||||
|
||||
widthConstraint = containerView.widthAnchor.constraint(equalToConstant: 0)
|
||||
widthConstraint?.priority = .defaultHigh
|
||||
|
||||
widthConstraint = containerView.width(constant: 0)
|
||||
|
||||
let leftStackView = UIStackView().with {
|
||||
$0.translatesAutoresizingMaskIntoConstraints = false
|
||||
$0.axis = .vertical
|
||||
$0.distribution = .fill
|
||||
$0.alignment = .leading
|
||||
}
|
||||
leftStackView.addArrangedSubview(containerView)
|
||||
leftStackView.setCustomSpacing(8, after: containerView)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user