updated radioboxitem

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-08-31 15:50:12 -05:00
parent a425941973
commit 18ff68e76e

View File

@ -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))
}