Merge branch 'feature/textLink' into 'develop'
corner radius back See merge request BPHV_MIPS/vds_ios!16
This commit is contained in:
commit
a4a560ecd7
@ -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))
|
||||
|
||||
@ -63,7 +63,7 @@ public class CheckboxGroupBase<HandlerType: CheckboxBase>: SelectorGroupHandlerB
|
||||
return UIStackView().with {
|
||||
$0.translatesAutoresizingMaskIntoConstraints = false
|
||||
$0.alignment = .fill
|
||||
$0.distribution = .fillProportionally
|
||||
$0.distribution = .fill
|
||||
$0.axis = .vertical
|
||||
$0.spacing = 10
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ public class RadioBoxGroupBase<HandlerType: RadioBoxBase>: SelectorGroupSelected
|
||||
} else {
|
||||
if UIDevice.current.orientation.isPortrait || UIDevice.current.orientation == .unknown {
|
||||
mainStackView.axis = .vertical
|
||||
mainStackView.distribution = .fillProportionally
|
||||
mainStackView.distribution = .fill
|
||||
|
||||
} else {
|
||||
mainStackView.axis = .horizontal
|
||||
|
||||
@ -63,7 +63,7 @@ public class RadioButtonGroupBase<HandlerType: RadioButtonBase>: SelectorGroupSe
|
||||
return UIStackView().with {
|
||||
$0.translatesAutoresizingMaskIntoConstraints = false
|
||||
$0.alignment = .fill
|
||||
$0.distribution = .fillProportionally
|
||||
$0.distribution = .fill
|
||||
$0.axis = .vertical
|
||||
$0.spacing = 10
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user