Skip to main content
Solved

How do you have auto layout move objects below when adding to text box above?


Candice_Sterling

I have a nested component which is in auto layout. Header/title-Textbox description-Icons below.

I want the ability to add additional text to the textbox when needed and the icons below dropdown automatically to make space.

Please advise.

Best answer by JosephxBrick

Hi! Assuming your textbox is a frame that contains a text object:

  • Set the text object to fill horizontally and hug vertically
  • Set the text object’s containing frame to fixed (or fill) horizontally and hug vertically.

Here’s an example.

View original
This topic has been closed for comments

2 replies

JosephxBrick
  • New Participant
  • 67 replies
  • Answer
  • May 17, 2023

Hi! Assuming your textbox is a frame that contains a text object:

  • Set the text object to fill horizontally and hug vertically
  • Set the text object’s containing frame to fixed (or fill) horizontally and hug vertically.

Here’s an example.


Candice_Sterling

Thank you so much. This worked a charm! 🙌


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