Request details

Fit Textbox to Text

I love this feature in InDesign and Illustrator. In InDesign if you double click the lower right corner of the textbox it scales to fit. Similarly in Illustrator if you click the handles on the right center or bottom center of the textbox it will scale to fit.

This feature would help better determine handling to padding/margins be more reflective of final development

198 votes
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)

We’ll send you updates on this idea

Thomas Hale shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

11 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...
  • Sean Cramer commented  ·   ·  Flag as inappropriate

    Yes, please add this feature! If the frame of the text box could be shrunk to exactly fit the text, then the X-Y positioning of the element would be so much easier. You could type in the exact position that you wanted rather than having to position a guide/line at, say, the Y location you wanted and then placing the top of the text by eye on that line. As it is, there's random "padding" around the text, and you have no idea how many pixels that is. It's just a "messy" way of doing things. From an exact positioning standpoint, which is what perfectionist designers like us want, the provided X-Y coordinates that are given are pretty useless. We don't want to set the position of the frame that is around the text (with it's arbitrary padding)... we want to set the position of the actual text.

  • nitai oren commented  ·   ·  Flag as inappropriate

    I wanted to see the adobe Indesign feature I’m so used too
    On adobe XD, closing of the text box.
    Maybe it’s me but i’m so attached to the shortcut “CTRL ALT + C”
    Maybe I have OCD, but I think it’s a must for the user (even if you don’t have this feature on SKETCH).
    The logic behind it is when the user is trying to align text boxes he can’t Because the alignment based on the text boxes and if you have different spaces between the text to the box in all the different boxes, you will align them and it will not align correctly.
    To solve this problem the user must and I say must first start the text box when clicking on with the type tool on the artboard and then when you finish of writing the text and then the text box will compound the text without spaces between the box frame and the text.
    But if the user point click and drags when he is on the type tool there is space between the box frame and the text inside and if you have seperate elements of text they will not align correctly.

  • Christoph Mauerhofer commented  ·   ·  Flag as inappropriate

    Also have a look at how they do it in Axure RP: You can fix width and/or height of a textbox and you can make them adapt to the text content (either the box grows in width or in height).

    Also, as the idea opener mentioned handling of padding/margins: It would be great to be able to add paddings to a textbox, so the textbox can be placed exactly at the borders and the text would still keep its defined distance to the borders of the textbox.

  • Brian commented  ·   ·  Flag as inappropriate

    This would also help with spacing elements and alignment functions.

  • Hailey Skelcher commented  ·   ·  Flag as inappropriate

    I really love this feature in InDesign and whish it was like that in illustrator too but especially xd

  • MW van der Walt commented  ·   ·  Flag as inappropriate

    This is an annoying element from designers in photoshop. They leave 500px height text boxes for a headline of 2 lines. So this feature would help them lazy ones clean up after themselves

Feedback and Knowledge Base