
I created this tooltip box (union of a rectangle and triangle). It’s set so that the text width adjusts according to the width of the tooltip box. I also want the size of the box to be adjustable, but am coming across 2 issues:

- Box height isn’t changing to accommodate the text line number increasing
- Triangle pointer doesn’t maintain same width
I’m not sure what settings are needed to fix this. This is what I have currently:

Autolayout of whole component. The text itself is set to fill/hug.