UIStackView Distribution Fill Equally

前端 未结 3 687
醉梦人生
醉梦人生 2020-11-28 14:44

So, I have a UIStackView that contains four (4) UIViews. If I remove one (1) of those UIViews, the other three (3) will fill the entir

3条回答
  •  星月不相逢
    2020-11-28 15:11

    Try changing the "Distribution" property in the Attributes inspector of the stack view to Equal spacing. It should work.

    Or you can change it to fill equally to fill the remaining 3 views equally in the Stack view .

提交回复
热议问题