Skip to main content
Solved

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

  • May 16, 2023
  • 2 replies
  • 1189 views

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.

This topic has been closed for replies.

2 replies

JosephxBrick
  • Active Member
  • 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! 🙌