Skip to main content
Solved

How to use a component as the background of another autolayout component?


Melissa_McArthur1

I have a component that I want to use as the background of another autolayout component, however, since the final component needs to be able to resize depending on the length of text, the final component needs to be set to autolayout. Therefor it is isn’t possible, since each layer in the component needs to be an item of the autolayout component.

The only way to achieve this is to not use a component as the background, but instead use an image as a fill on the final component, which doesn’t achieve what I want.

Please help, thanks!

Best answer by Gleb

It isn’t possible, but you can vote for this suggestion: Absolute position in Auto Layout

View original
This topic has been closed for comments

4 replies

Gleb
  • Power Member
  • 4706 replies
  • Answer
  • June 2, 2021

It isn’t possible, but you can vote for this suggestion: Absolute position in Auto Layout


Melissa_McArthur1

Thanks for the quick response Gleb. I’ll cast a vote 💯 do you know of any plugins that help in the meantime?


Gleb
  • Power Member
  • 4706 replies
  • June 2, 2021

Plugins can’t add new functionality to Figma, so if you can’t achieve this by hand, plugins can’t do it. This will need to be implemented natively.


Gleb
  • Power Member
  • 4706 replies
  • December 2, 2021

A post was merged into an existing topic: Absolute position in Auto Layout


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings