“Fill container” option missing on nested text layer inside a component (Auto Layout)
I’ve been using Figma for a few months and I’m building my first design system. I’ve hit a layout issue I can’t figure out.I have a button component with an icon and a text label inside an Auto Layout frame. I want the label to stretch with the button when I resize it so I tried setting the text layer to Fill container. But the option is either missing or greyed out in the resizing dropdown, and I can only choose Hug contents or Fixed width.
What I’m trying to do:
I want the label to expand or truncate properly when the text changes, without manually resizing every instance.
Is there a setting I’m missing, or is my nesting structure the problem?
