Skip to main content

Hey Friends 🙋‍♂️t2:


i need your help. I have designed a Button Component with some Variants (with Icon, Primary, Secondary, …)


The problem is, when i want to change the size of the button, the button itself don’t change.


Size is not dynamics


Someone can help me?? 😦


Cheers 😉

Hi Matthias,


Check your structure, you should have Hug resize on the component like you have, but also on the content frame/autolayout inside it to fit with the manual resize of the component like that 👇



Let me know if that solves your resizing problem?


Hi Alexis,


thanks for your reply 🙂


I tried it and set Hug Resize in horizontal on all struture, the component or variant, the content inside the component.


But as you can see, it is not possible to change the horizontal size 😦



Could you show me the “primary” layer to see what you set on it?


or send me the Figma link i will duplicate it and show you what’s broken 😉


Based on your structure, you need to set the “Fill container” horizontally for the “Button” instance.


For sure:



if the screenshot doesn’t help you, I’m fine sharing the link.


Like @tank666 said, you need to set your “Button” layer with “Fill container”