This is working great:
let label = UILabel()
label.text = VARIABLE_LENGTH_STRING
stackView?.addArrangedSubview(label)
but this does not work
let button = UIButton()
button.setTitle(VARIABLE_LENGTH_STRING, for: .normal)
stackView?.addArrangedSubview(button)
Nothing displays! any idea why? I'd expect labels to behave pretty simularly to buttons...
Thanks for your help!