diff --git a/VDS/Components/Badge/Badge.swift b/VDS/Components/Badge/Badge.swift index 4aaa4c6c..e61f11a9 100644 --- a/VDS/Components/Badge/Badge.swift +++ b/VDS/Components/Badge/Badge.swift @@ -65,6 +65,7 @@ public class Badge: View, Accessable { isAccessibilityElement = true accessibilityTraits = .staticText + layer.cornerRadius = 2 addSubview(label) label.pinToSuperView(.init(top: 2, left: 4, bottom: 2, right: 4)) diff --git a/VDS/Components/Checkbox/CheckboxGroup.swift b/VDS/Components/Checkbox/CheckboxGroup.swift index e2e3b248..2cb7596b 100644 --- a/VDS/Components/Checkbox/CheckboxGroup.swift +++ b/VDS/Components/Checkbox/CheckboxGroup.swift @@ -63,7 +63,7 @@ public class CheckboxGroupBase: SelectorGroupHandlerB return UIStackView().with { $0.translatesAutoresizingMaskIntoConstraints = false $0.alignment = .fill - $0.distribution = .fillProportionally + $0.distribution = .fill $0.axis = .vertical $0.spacing = 10 } diff --git a/VDS/Components/RadioBox/RadioBoxGroup.swift b/VDS/Components/RadioBox/RadioBoxGroup.swift index 98cad475..e53a87c7 100644 --- a/VDS/Components/RadioBox/RadioBoxGroup.swift +++ b/VDS/Components/RadioBox/RadioBoxGroup.swift @@ -59,7 +59,7 @@ public class RadioBoxGroupBase: SelectorGroupSelected } else { if UIDevice.current.orientation.isPortrait || UIDevice.current.orientation == .unknown { mainStackView.axis = .vertical - mainStackView.distribution = .fillProportionally + mainStackView.distribution = .fill } else { mainStackView.axis = .horizontal diff --git a/VDS/Components/RadioButton/RadioButtonGroup.swift b/VDS/Components/RadioButton/RadioButtonGroup.swift index 487a8413..136dbe6e 100644 --- a/VDS/Components/RadioButton/RadioButtonGroup.swift +++ b/VDS/Components/RadioButton/RadioButtonGroup.swift @@ -63,7 +63,7 @@ public class RadioButtonGroupBase: SelectorGroupSe return UIStackView().with { $0.translatesAutoresizingMaskIntoConstraints = false $0.alignment = .fill - $0.distribution = .fillProportionally + $0.distribution = .fill $0.axis = .vertical $0.spacing = 10 }