I need to evenly space X items, and the container for the items can have dynamic width, and I want the first and last items to stick to left and right edge:
|-0-[item1]-[...]-[itemX]-0-|
so that no matter how wide the container is, the items are always evenly spaced, how to implement this with layout constraints?
edit: I was thinking that if I can set item1 and item2 to have same spacing as item2 and item3 and so on, then this should be easy, but I don't think I can set it without a constant width?