I have two layers - black shape and red text in Photoshop:
I want to center the text inside the shape horizontally, and vertically. This is easy, I have done it by Layer > Align > Vertical Centers & Horizontal Centers:
However, when the text is long, it leaves the shape:
My question: Is it possible to wrap the text inside the shape? So the outcome would be something like this:
Note: I cannot create type from the shape, because in that case the result would not be aligned vertically:
There is one similar question, however it does not solve vertical center, nor overflowing. Thank you for your advice.
ADD: The trivial method "create rectangular text container" cannot be used now. The text would be automatically filled using Datasets, therefore I have to create text container that is bigger than actual current text (because the real text could be longer). Using this approach, it would center the text container (and not the real text) according to the rectangle.