I am trying to create a view containing some buttons arranged vertically, and I would like the spaces between the buttons to be equal when the window is resized. Limitations (using the visual format) on this view:
H:|-0-[button1]-0-| H:|-0-[button2]-0-| H:|-0-[button3]-0-| H:|-0-[button4]-0-| V:|-0-[button1]-(>=0)-[button2]-(>=0)-[button3]-(>=0)-[button4]-0-|
The buttons are displayed correctly, except that only one of the three spaces is taken into account, defined as> = 0, and the remaining spaces remain equal to zero (the layout is ambiguous).
Is there a way to set these three spaces equal using AutoLayout?
cocoa osx-lion
erudel
source share