Say I wish to create a speech bubble that automatically grows in height based on the text content. I can compose a bubble as a union of a triangle and a rectangle, set it to position absolutely and constrain the components to, say, keep the bubble point at the lower right corner of the bubble.
This works fine if I resize the frame manually, but the constraints don’t hold when the frame resize is caused by auto layout.
Why not?
Solved
Let absolute position constraints respond to auto layout
Best answer by tank666
Just wrap the union object in a frame, and set the frame to the desired constraints (left and right, top and bottom).
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.