Request details

Text area with fixed width but auto height (grows/shrinks vertically as text edited)

I'd like to be able to make a text area with a fixed width -- so the text automatically wraps onto multiple lines -- but with no fixed height so that the height auto fits to the text.

Basically, I want it to act like area text (fixed size) in the horizontal direction but point text (auto size) in the vertical direction.

33 votes
Sign in
Sign in with: Facebook Google
Signed in as (Sign out)

We’ll send you updates on this idea

AdminPeter Flynn (Software Engineer, Adobe) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Sign in with: Facebook Google
Signed in as (Sign out)
  • dp commented  ·   ·  Flag as inappropriate

    Should work like indesign and with the auto-size (so it shrinks/grows automatically as you type ) feature available. Just installed Pablo's Text Toolbox plugin in the meantime - works great, thanks Pablo

  • Brandt commented  ·   ·  Flag as inappropriate

    With the addition of Responsive Resize this is a really big deal. While my text box is now smart enough to adjust it's width during resizing it's not smart enough to simultaneously adjust it's height to show the newly truncated text. This means I have to manually go through and open all Area Text boxes and then have to go through and manually adjust all vertical spacing to accommodate the taller text area.

    Another common problem is figuring out vertical padding. Area Text has no logical bottom—it's arbitrary depending on how tall you happen to draw it. For example, if I want to have an element 20px below my text, right now I can easily see how far away the element is from my text box, but not the actual text. If the text box were simply always the exact size of the copy block then I'll I'd need is the built in measurement tools to quickly get my element placed rather than using hacks and workarounds.

    All-in-all, we are just asking for text to behave just like HTML text behaves in a live environment.

  • pklaschka commented  ·   ·  Flag as inappropriate

    While this might not be an ideal solution, my plugin "Text Toolbox" (available in the "Discover plugins" panel as well as on allows to automatically adjust a text areas height to fit its content with one click or a simple keyboard shortcut. I understand that you'd like it to adjust everytime you edit the text, but my plugin might serve as an intermediate solution (since it at least saves the hassle of manually adjusting the area every time).

    Disclaimer: Since I'm the developer of the plugin, I might not be unbiased and this could be seen as an advertisement. However, I do not earn anything if you use any of my plugins (they are all free and there also isn't any other source of revenue), so I'm just putting this here since it seems related.

    Pablo Klaschka | Developer of "Text Toolbox" for Adobe XD

  • Aleksei Koren commented  ·   ·  Flag as inappropriate

    I agree, there is an option in InDesign that lets you to auto-fit area text vertically. Can it be made that as you type or place text inside the area text adjusts, and then if you need to resize the box, you just drag it down and it resizes, with an option that it refits to the text again, if you add more text. it could be an option in the Preferences to change the behavior of the area text. Thanks, Alex.

  • MK commented  ·   ·  Flag as inappropriate

    This is my main use case for text fields, and given the way modern responsive websites and apps are built these days, probably the most useful in digital UX design.

    Scaling point text is nice for headers and quick drafts, but anything more and area text becomes fidgety.

    It would also save a lot of time knowing that the bottom of the area text box is aligned with the bottom of the text, so that we can quickly align elements under it with the correct spacing

  • ariel commented  ·   ·  Flag as inappropriate

    This is seriously my biggest frustration with XD and the reason I don't normally use it as a design tool.

Feedback and Knowledge Base