Hey. Like I said in the topic subject, I’d like to resize text boxes using autolayout. I don’t mean scale, but adapt the text containers to the size of the frame. Is that possible? Thank you in advance, guys.
Set text to fill container
Yes, pay attention to whether the object you’re trying to change is either fixed or hug in width and height, these settings are often overlooked by new designers and they are very important to get a good result.
If the text is set to fixed width and hug height, this means that when you type enough characters to fill the selection this will create a new text line and also broaden the selection accordingly.
I hope that solves the problem, if not, let me know and I’ll cover all other possible solutions.
Have a great day and best of luck!
Hey, thank you guys, somehow I didn’t pay attention to this and it was so simple!
This may be a similar question, but it’s driving me crazy. I’m trying to create a frame (can be a square box), then have text within that frame. If I type, the frame should expand with the text box, but I cannot figure out how to do that. Please help!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.