Question
Overlap elements in Auto layout


I’ve created this toggle and am having an issue with auto layout. With auto layout, the container size scales accordingly when the text is updated. However, I can’t overlap the containers. Auto layout insists on separating them. But I need them together because, when the “Shopping Bag” container changes size, I want the “Favorites” container to also change to maintain consistent padding. Is there a workaround for this?
