Skip to main content
Question

Hug auto layout doesn't update after changing text variable


Lola-jeanne LEFEBVRE

I’m currently making a Chants of Sennaar prototype for a school project using figma. I’ve come across this issue while making the annotation feature of the journal. When the user submits their text using the arrow button, i update the text variable of the bubble to the user’s text (see attachment). This works fine, however the bubble’s hug auto layout doesn’t seem to pick up the change and therefore doesn’t adapt to the new text’s length.

The bubble’s auto layout properties

Is there any way to fix this ? The text in itself also has the “hug” property and the bubble + text is a variant (if that changes anything).

Maroua_El_KHALIFI

Hello! Maybe you should remove max width by clicking on width dropdown then remove max width


Lola-jeanne LEFEBVRE
Maroua_El_KHALIFI wrote:

Hello! Maybe you should remove max width by clicking on width dropdown then remove max width

Hi ! Thank you for your reply. I don’t have a max width on the bubble, only a min width which i tried removing in case it changed anything but it didn’t work.


Reply


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