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?
Actually this should work. Could you record a video or share a link to an example file?
Here’s a link: https://www.figma.com/file/3HKDzUEXtZoccjXkWf3uhT/Absolute-autolayout-constriction?node-id=0%3A1&t=9qPqHND1Twtaf1aE-1
Okay I think it’s the Union that breaks the functionality. If the two components are individual children of the frame, they respond correctly. If combined into a Union, they no longer do.
Just wrap the union object in a frame, and set the frame to the desired constraints (left and right, top and bottom).
That seems to serve as a reasonable workaround. Thank you!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.