Open mredig opened 3 years ago
The inline docs for InputStackView state
InputStackView
A UIStackView that's intended for holding InputItems Important Notes Default alignment is .fill Default distribution is .fill The distribution property needs to be based on its arranged subviews intrinsicContentSize so it is not recommended to change it
A UIStackView that's intended for holding InputItems
InputItem
but the setup function sets the alignment to .bottom
setup
.bottom
open func setup() { translatesAutoresizingMaskIntoConstraints = false distribution = .fill alignment = .bottom }
I'm uncertain as to which was intended.
I think the doc is not up to date. Would you mind updating it in a PR?
The code itself lives there for some time and is probably... working as expected.
The inline docs for
InputStackView
statebut the
setup
function sets the alignment to.bottom
I'm uncertain as to which was intended.