fixed button issue
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
3255e36e51
commit
66673cb294
@ -48,7 +48,6 @@ public class PickerSelectorView<EnumType: RawRepresentable>: UIStackView, Picker
|
||||
instance.size = .small
|
||||
instance.use = .secondary
|
||||
instance.text = "Select"
|
||||
instance.width = 150
|
||||
}
|
||||
|
||||
public var text: String = "" {
|
||||
@ -76,9 +75,10 @@ public class PickerSelectorView<EnumType: RawRepresentable>: UIStackView, Picker
|
||||
label.text = title
|
||||
let buttonWrapper = View()
|
||||
buttonWrapper.addSubview(button)
|
||||
buttonWrapper.height(32)
|
||||
button.pinTop()
|
||||
button.pinBottom()
|
||||
button.pinTrailing()
|
||||
button.pinBottom()
|
||||
button.pinLeadingGreaterThanOrEqualTo(anchor: buttonWrapper.leadingAnchor)
|
||||
updateSelectedIndex()
|
||||
addArrangedSubview(label)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user