fixed layout bugs in console

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-11-21 12:45:52 -06:00
parent a19979abd8
commit dd6fddbcf4
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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