diff --git a/VDS/Components/TextFields/EntryFieldBase.swift b/VDS/Components/TextFields/EntryFieldBase.swift index 2c2435be..58328966 100644 --- a/VDS/Components/TextFields/EntryFieldBase.swift +++ b/VDS/Components/TextFields/EntryFieldBase.swift @@ -43,7 +43,7 @@ open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable { internal let mainStackView = UIStackView().with { $0.axis = .vertical $0.alignment = .fill - $0.spacing = 8 + $0.spacing = VDSLayout.space1X $0.translatesAutoresizingMaskIntoConstraints = false } @@ -51,7 +51,7 @@ open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable { $0.axis = .vertical $0.alignment = .fill $0.distribution = .fill - $0.spacing = 8 + $0.spacing = VDSLayout.space2X $0.translatesAutoresizingMaskIntoConstraints = false } @@ -285,7 +285,7 @@ open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable { // Add arranged subviews to mainStackView mainStackView.addArrangedSubview(titleLabel) mainStackView.addArrangedSubview(contentStackView) - + // Initial position of the helper label updateHelperTextPosition()