Absolute position and autolayout: how to conserve distance to siblings?

Hi ! :wave:
I’m trying to create component with some elements (tooltip, menu) that have absolute position.
My issue is that when the size of the objects or siblings changes, it messes the position between siblings.
Example with tooltips (also doesn’t works with menu when number of items varies):

Is there an obvious or not so obvious solution I’m missing?

edit : if the element with absolute position is fixed in size, it can sort of work if I use scale for constraint, but is it’s an autolayout, it just doesn’t work.

Btn (auto layout)
	Text
	Frame (with bottom constraint and absolute position)
		Tooltip (auto layout with top constraint)
1 Like

Yes, it works!
It means I have to add a container for the tooltip, but it works perfectly, thanks :+1: