I have a vertical stackview with 7 subviews. When I remove one of the subviews the stack view doesnt shrink, but the view above the removed view occupies the freed space.
I have tried
subview.isHidden = true
as well as
stackview.removeArrangedSubview(subview)
subview.removeFromSuperView()
Should the stackview automatically shrink by pushing all subviews below the removed subview upwards?