Automatic shape height to fit text?


I’ve got a text box on top of a shape. The text is dynamic, pulled from an external database via API. How do I get the underlying shape to adjust its height according to the amount of text? As far as I understand, the text box and the shape simply need to be grouped together? I’ve done this, but still the shape doesn’t adjust according to the text.

Am I doing something wrong?

Thank you,


Put your textbox inside a group and fill the group’s background with the color you want :+1:.

1 Like

Delete the shape and you can either put the background on the text box and use the v/h padding

Or use a group with the background that collapses / expands with the text


Thanks @rpetribu and @chris.williamson1996. I used the group as a background and it works fine :grinning:

1 Like