Say for example I want to add 3 buttons to a stack view.
Button1 is 200 * 200 (1)
Button2 is 150 * 150 (0.75)
Button3 is 100 * 100 (0.5)
How can I accomplish this in interface builder?
You can do it in the storyboard using stackview
The set up is shown in fig:
You are having conflicts because of Alignment Property which in your case it fill. make is center and its done.
Also we can add spacing between buttons. If we set Distribution Equal Spacing and add height constraint to stackview with height more than height of buttons.
This is vertical stackview. You can test the same with horizontal stackview.
Hope it will work for you.