From 18ff68e76e1f36f8a9a8bc56f8410915696e9890 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 31 Aug 2023 15:50:12 -0500 Subject: [PATCH] updated radioboxitem Signed-off-by: Matt Bruce --- VDS/Components/RadioBox/RadioBoxItem.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/VDS/Components/RadioBox/RadioBoxItem.swift b/VDS/Components/RadioBox/RadioBoxItem.swift index 71cf2c2e..28a54f5a 100644 --- a/VDS/Components/RadioBox/RadioBoxItem.swift +++ b/VDS/Components/RadioBox/RadioBoxItem.swift @@ -194,7 +194,12 @@ open class RadioBoxItem: Control, Changeable, FormFieldable { selectorLeftLabelStackView.addArrangedSubview(textLabel) selectorLeftLabelStackView.addArrangedSubview(subTextLabel) - selectorView.pinToSuperView() + selectorView + .pinTop() + .pinLeading() + .pinTrailing(0, .defaultHigh) + .pinBottom(0, .defaultHigh) + mainStackView.pinToSuperView(.init(top: 16, left: 16, bottom: 16, right: 16)) }