From 13396d150182dba4b5a8c8ce603df11be4fa1da9 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 23 May 2024 11:51:45 -0500 Subject: [PATCH] updated custom spacing Signed-off-by: Matt Bruce --- VDS/Components/TextFields/EntryFieldBase.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()