The task is simple: there is text that automatically changes its size using auto width - I need to make a background for it (or perhaps for several elements) which accordingly also expands to cover child elements.
Judging by what I read about layout elements in playcanvas - there the parent element controls the children, but there are no tools for the reverse?
Is there any clean solution for this? Or is it necessary to do manipulations from the code?