Skip to main content
Question

Overlap elements in Auto layout

  • April 22, 2025
  • 0 replies
  • 52 views

Angela Liu

 

 

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? 

This topic has been closed for replies.