Skip to main content
Question

Auto Layout Text Resize


George3

How to make like this in the picture because thank shrink Question Box make like this in picture [Down] i have used auto-fill but still works like this

This topic has been closed for comments

tank666

Please send a link to your file.


George3

well i am trying to learn if someone fix for me wouldn’t be help full

also I cant


tank666

Not seeing how your file is arranged (layers and their settings), I can only offer you this: set for the text block “Fill container” horizontally and “Hug contents” vertically. Perhaps the same settings will be required for the nested Auto Layout, if you have one.


George3

yeah I know why u wanted to share the link I have done this filling container everything I mean it works fine but then it grouped with boxes these boxes messing my text also they got stretched I tried everything without group or with a group or with another frame


tank666

Unfortunately, I won’t help you without the file. So find similar files in Figma Community to learn how to do this.


George3

i will try to give you file


George3
wetransfer.com

i am talking to resize quick box and work as title works (lore Ipsum) but everything in center


tank666

Since Figma has no setting for max-width, you can only simulate this manually. I edited your file by changing the settings for the text layers and adding one more Auto Layout.

Figma – 8 Jul 21

If you need to increase the width of the frame:

  1. Increase the width of the “2.1. QuestionBox” frame.
  2. Select “Frame 645” and set it to the desired fixed width.

If you need to reduce the width of the frame:

  1. Reduce the width of the “2.1. QuestionBox” frame.
  2. Select “Frame 645” and set the “Fill container” to it horizontally.

George3

yeah i though there was automatic way to fix own


George3

thanks anyways


tank666

You can vote to add this feature in this thread: Min and Max Width for Auto Layout


  • August 7, 2021

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


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