Photoshop: Constrict text-box to text

  • 1
  • Idea
  • Updated 2 months ago
  • (Edited)
To add text, users click and drag with the Type Tool to draw a text-box, within which text is confined. My frustration stems from the inability to confine the text-box boundaries to the area occupied by the text typed inside it. Since the alignment options are dependent on the bounds of the text-box, perfect placement of text layers (for symmetry, consistent separation, etc.) is made impossible.
Photo of Melvin

Melvin

  • 5 Posts
  • 0 Reply Likes

Posted 4 months ago

  • 1
Photo of Dave Grainger

Dave Grainger

  • 440 Posts
  • 81 Reply Likes
Use Frame, inside that, use Text tool. That should stay within the boundaries as I understand it...
Photo of David

David, Official Rep

  • 3602 Posts
  • 615 Reply Likes
Hi Melvin,
Are you saying that your text is appear outside of the bounding box?  If so, have you tried resetting your Paragraph panel, since there are controls there to allow text to appear outside the box.  Otherwise, that shouldn't happen and I would very much like to see a screenshot of the situation so I can help you solve it.
Thanks,
David
Photo of Melvin

Melvin

  • 5 Posts
  • 0 Reply Likes
It isn't that there is a fault, just a missing feature. If you single click with the Horizontal Type Tool, a horizontal line appears and you can type any text as normal, and there is no bounding box. On the other hand, already created text layers, made by dragging out a text-box with the same tool, have a box that contains the text. What I am asking for is a way to be able to automatically reshape the bounds to fit the area of the text for alignment purposes.  See below:
The first image shows text written with a single click, easily centered, done. The second, I drag out a text-box and type. The third image shows the result of attempting to center the layer with the align options, with the text obviously not centered. This would be solved if there was a simple button to constrict the text-box to the exact pixel dimensions the text occupies, and re-aligning.
Photo of David

David, Official Rep

  • 3602 Posts
  • 615 Reply Likes
Howdy Melvin,
Maybe I'm missing something here, but why not convert your text with the bounding box to point text and then position it?  You can find this option in the Paragraph panel when the layer is selected.
Thanks,David
Photo of Melvin

Melvin

  • 5 Posts
  • 0 Reply Likes
Thanks David, this is exactly what I was looking to do. It's still a bit weird that restricting the text-box isn't an option, but at least there is a workaround. 
Photo of Melvin

Melvin

  • 5 Posts
  • 0 Reply Likes
Another issue is that the transform values for paragraph-text do not match that of point-text, which is particularly irritating as something I'm encountering at the moment is that all my newly typed text is vertically stretched. I'm not at all sure why, but it's forcing me to manually change the vertical and horizontal transform values to be equal. Others have mentioned a reset text function, but I haven't been able to find it.
Photo of David

David, Official Rep

  • 3602 Posts
  • 615 Reply Likes
Howdy Melvin,
What do you mean when you say that the transforms values don't match.  Both should behave the same way, with proportional transformations as default behavior.  Is this not what you're seeing?
Thanks,David
Photo of David

David, Official Rep

  • 3602 Posts
  • 615 Reply Likes
Also, just in case you aren't aware of it, Melvin, you can add text to the INTERIOR of a closed shape, using the controls in the Paragraph panel to precisely control the display within the bounded area.  Like this...

Makes sense?
David
Photo of Melvin

Melvin

  • 5 Posts
  • 0 Reply Likes
I see, I'm sure that will come in handy in the future, though it does seem to yield some imperfect results. Thanks again!
(Edited)