updated custom spacing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
6ad1c0561e
commit
13396d1501
@ -43,7 +43,7 @@ open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable {
|
|||||||
internal let mainStackView = UIStackView().with {
|
internal let mainStackView = UIStackView().with {
|
||||||
$0.axis = .vertical
|
$0.axis = .vertical
|
||||||
$0.alignment = .fill
|
$0.alignment = .fill
|
||||||
$0.spacing = 8
|
$0.spacing = VDSLayout.space1X
|
||||||
$0.translatesAutoresizingMaskIntoConstraints = false
|
$0.translatesAutoresizingMaskIntoConstraints = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable {
|
|||||||
$0.axis = .vertical
|
$0.axis = .vertical
|
||||||
$0.alignment = .fill
|
$0.alignment = .fill
|
||||||
$0.distribution = .fill
|
$0.distribution = .fill
|
||||||
$0.spacing = 8
|
$0.spacing = VDSLayout.space2X
|
||||||
$0.translatesAutoresizingMaskIntoConstraints = false
|
$0.translatesAutoresizingMaskIntoConstraints = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -285,7 +285,7 @@ open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable {
|
|||||||
// Add arranged subviews to mainStackView
|
// Add arranged subviews to mainStackView
|
||||||
mainStackView.addArrangedSubview(titleLabel)
|
mainStackView.addArrangedSubview(titleLabel)
|
||||||
mainStackView.addArrangedSubview(contentStackView)
|
mainStackView.addArrangedSubview(contentStackView)
|
||||||
|
|
||||||
// Initial position of the helper label
|
// Initial position of the helper label
|
||||||
updateHelperTextPosition()
|
updateHelperTextPosition()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user