From 9f1e8d84e028c018ab0381e191f0cd3f51939bc3 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Mon, 5 Jun 2023 14:47:01 -0500 Subject: [PATCH] CXTDT-420885 - spacing between items in groups update Signed-off-by: Matt Bruce --- VDS/Components/Checkbox/CheckboxGroup.swift | 2 +- VDS/Components/RadioBox/RadioBoxGroup.swift | 2 +- VDS/Components/RadioButton/RadioButtonGroup.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VDS/Components/Checkbox/CheckboxGroup.swift b/VDS/Components/Checkbox/CheckboxGroup.swift index 7c4817fc..530484ca 100644 --- a/VDS/Components/Checkbox/CheckboxGroup.swift +++ b/VDS/Components/Checkbox/CheckboxGroup.swift @@ -83,7 +83,7 @@ open class CheckboxGroup: SelectorGroupHandlerBase { $0.alignment = .fill $0.distribution = .fill $0.axis = .vertical - $0.spacing = 10 + $0.spacing = VDSLayout.Spacing.space6X.value } }() diff --git a/VDS/Components/RadioBox/RadioBoxGroup.swift b/VDS/Components/RadioBox/RadioBoxGroup.swift index 3196de93..ef6fade0 100644 --- a/VDS/Components/RadioBox/RadioBoxGroup.swift +++ b/VDS/Components/RadioBox/RadioBoxGroup.swift @@ -56,7 +56,7 @@ open class RadioBoxGroup: SelectorGroupSelectedHandlerBase { private var mainStackView: UIStackView = { return UIStackView().with { $0.translatesAutoresizingMaskIntoConstraints = false - $0.spacing = 12 + $0.spacing = VDSLayout.Spacing.space3X.value } }() diff --git a/VDS/Components/RadioButton/RadioButtonGroup.swift b/VDS/Components/RadioButton/RadioButtonGroup.swift index 992d76a5..2a017d1b 100644 --- a/VDS/Components/RadioButton/RadioButtonGroup.swift +++ b/VDS/Components/RadioButton/RadioButtonGroup.swift @@ -76,7 +76,7 @@ open class RadioButtonGroup: SelectorGroupSelectedHandlerBase { $0.alignment = .fill $0.distribution = .fill $0.axis = .vertical - $0.spacing = 10 + $0.spacing = VDSLayout.Spacing.space6X.value } }()