I have vertical UIStackView
which has two horizontal UIStackViews
, if bottom UIStackView
has larger width than UIStackView
on the top then UIStackView
on the top will be stretched to the width of the bottom UIStackView
.
And now I have first element in the top UIStackView
stretched, but I want to stretch last element.
Current:
Expected:
How can I achieve this?
Assuming your labels have the default Horizontal Content Hugging Priority
set to 251 each, change the Green Label to 252
Everything else you should be able to leave as you have it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With